Skip to content

Commit

Permalink
Remove mention of latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Nov 1, 2021
1 parent 164178a commit 3b6c668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NewInvalidCRD(apiGroup string) *KNError {
parts := strings.Split(apiGroup, ".")
name := parts[0]
msg := fmt.Sprintf("no or newer Knative %s API found on the backend, please verify the installation or "+
"update the 'kn' client to latest version", firstCharToUpper(name))
"update the 'kn' client", firstCharToUpper(name))
return NewKNError(msg)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/errors/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestKnErrorsStatusErrors(t *testing.T) {
}
return statusError
},
ExpectedMsg: "no or newer Knative Serving API found on the backend, please verify the installation or update the 'kn' client to latest version",
ExpectedMsg: "no or newer Knative Serving API found on the backend, please verify the installation or update the 'kn' client",
Validate: func(t *testing.T, err error, msg string) {
assert.Error(t, err, msg)
},
Expand Down

0 comments on commit 3b6c668

Please sign in to comment.