From b52072dcbf879495cf5e4b47c3bf019b1eb91314 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 18 Oct 2023 00:22:59 -0600 Subject: [PATCH] lint --- cmd/versioncheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/versioncheck.go b/cmd/versioncheck.go index c5413f88..c54e1d01 100644 --- a/cmd/versioncheck.go +++ b/cmd/versioncheck.go @@ -72,7 +72,7 @@ func VersionCheckCmd() *cobra.Command { } crd := new(cosmosv1.CosmosFullNode) - if err := kClient.Get(ctx, namespacedName, crd); err != nil { + if err = kClient.Get(ctx, namespacedName, crd); err != nil { panic(fmt.Errorf("failed to get crd: %w", err)) }