From 13a95df8e5624ff264dd9a298a178bbecde33159 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 18 Oct 2023 22:34:24 -0600 Subject: [PATCH] height should be commit + 1 --- cmd/versioncheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/versioncheck.go b/cmd/versioncheck.go index d5b8bf6b..ebd5bd78 100644 --- a/cmd/versioncheck.go +++ b/cmd/versioncheck.go @@ -102,7 +102,7 @@ func VersionCheckCmd(scheme *runtime.Scheme) *cobra.Command { store := rootmulti.NewStore(db, log.NewNopLogger(), nil) - height := store.LatestVersion() + height := store.LatestVersion() + 1 fmt.Printf("%d", height) if crd.Status.Height == nil {