Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix(cli): CLI new version checker message (#6864)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT authored Feb 15, 2022
1 parent 582691b commit d836e89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions cli/pkg/credentialmanager/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ package credentialmanager

import (
"fmt"
"log"
"net/url"
"os"
"path/filepath"

"github.com/docker/docker-credential-helpers/credentials"
"github.com/keptn/go-utils/pkg/common/fileutils"
"github.com/keptn/keptn/cli/pkg/common"
"github.com/keptn/keptn/cli/pkg/config"
keptnutils "github.com/keptn/kubernetes-utils/pkg"
"gopkg.in/yaml.v3"
"log"
"net/url"
"os"
"path/filepath"
)

var testEndPoint = url.URL{Scheme: "https", Host: "my-endpoint"}
Expand Down
2 changes: 1 addition & 1 deletion cli/pkg/version/version_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (v *VersionChecker) CheckCLIVersion(cliVersion string, considerPrevCheck bo
return false, false
}
if newVersions.stable.newestCompatible == nil && newVersions.prerelease.newestCompatible == nil {
fmt.Printf("Keptn CLI and Keptn cluster version are already on the latest version ( %v )! \n", cliVersion)
fmt.Printf("Keptn CLI is already on the latest version ( %v )! \n", cliVersion)
return false, true
}
if newVersions.stable.newestCompatible != nil {
Expand Down

0 comments on commit d836e89

Please sign in to comment.