From 66acb74f3b8838dfbe595edaf2814e4643c953a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E5=85=83?= Date: Wed, 29 Jul 2020 16:28:55 +0800 Subject: [PATCH] fix CI --- api/v1alpha2/zz_generated.deepcopy.go | 2 +- pkg/cmd/apps.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/v1alpha2/zz_generated.deepcopy.go b/api/v1alpha2/zz_generated.deepcopy.go index b243aeec3..375b0fa31 100644 --- a/api/v1alpha2/zz_generated.deepcopy.go +++ b/api/v1alpha2/zz_generated.deepcopy.go @@ -16,7 +16,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// autogenerated by controller-gen object, do not modify manually +// Code generated by controller-gen. DO NOT EDIT. package v1alpha2 diff --git a/pkg/cmd/apps.go b/pkg/cmd/apps.go index ed8cce2b0..2ffa408c4 100644 --- a/pkg/cmd/apps.go +++ b/pkg/cmd/apps.go @@ -37,7 +37,8 @@ func printApplicationList(ctx context.Context, c client.Client, appName string, table.MaxColWidth = 60 if err != nil { - fmt.Errorf("listing Trait Definition hit an issue: %s", err) + fmt.Printf("listing Trait Definition hit an issue: %s\n", err) + return } table.AddRow("NAME", "WORKLOAD", "TRAITS", "STATUS", "CREATED-TIME")