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 {