From 1c2649d431d9e11486d30d74d7fdf7cd808643c7 Mon Sep 17 00:00:00 2001 From: kmetin Date: Mon, 4 Sep 2023 10:38:02 +0300 Subject: [PATCH] fix comments --- base/commands/update_check.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/base/commands/update_check.go b/base/commands/update_check.go index adf75dd6..da66c940 100644 --- a/base/commands/update_check.go +++ b/base/commands/update_check.go @@ -17,12 +17,9 @@ import ( const skipUpdateCheck = "CLC_SKIP_UPDATE_CHECK" -const newVersionWarning = ` -A newer version of CLC is available. - +const newVersionWarning = `A newer version of CLC is available. Visit the following link for release notes and to download: https://github.com/hazelcast/hazelcast-commandline-client/releases/%s - ` const ( @@ -32,7 +29,7 @@ const ( ) func maybePrintNewerVersion(ec plug.ExecContext) error { - sa := store.NewStoreAccessor(filepath.Join(paths.Caches(), "version_update"), ec.Logger()) + sa := store.NewStoreAccessor(filepath.Join(paths.Caches(), "update"), ec.Logger()) shouldSkip, err := shouldSkipNewerVersion(sa) if err != nil { return err