Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kutluhanmetin committed Sep 4, 2023
1 parent ddb204f commit 1c2649d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions base/commands/update_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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
Expand Down

0 comments on commit 1c2649d

Please sign in to comment.