🌱 Update api to install addon template CRD (#170)

Signed-off-by: zhujian <jiazhu@redhat.com>
This commit is contained in:
Jian Zhu
2023-06-14 14:26:35 +08:00
committed by GitHub
parent c364d34e47
commit 023cdfd0c3
29 changed files with 1893 additions and 48 deletions

View File

@@ -78,6 +78,7 @@ verify-fmt-imports: install-golang-gci
@output=$$(gci diff --skip-generated -s standard -s default -s "prefix(open-cluster-management.io)" -s "prefix(open-cluster-management.io/ocm)" cmd pkg test dependencymagnet); \
if [ -n "$$output" ]; then \
echo "Diff output is not empty: $$output"; \
echo "Please run 'make fmt-imports' to format the golang files imports automatically." \
exit 1; \
else \
echo "Diff output is empty"; \