Skip to content

Commit

Permalink
Addressed Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
edibble21 committed Nov 18, 2024
1 parent c8caab1 commit 24eb666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (p *DefaultProvider) Get(ctx context.Context) (string, error) {
}
p.cache.SetDefault(kubernetesVersionCacheKey, version)
if p.cm.HasChanged("kubernetes-version", version) {
log.FromContext(ctx).WithValues("version", version).V(1).Info("discovered kubernetes version from" + versionSource)
log.FromContext(ctx).WithValues("version", version).V(1).Info(fmt.Sprintf("discovered kubernetes version from %s", versionSource))
if err := validateK8sVersion(version); err != nil {
log.FromContext(ctx).Error(err, "failed validating kubernetes version")
}
Expand Down

0 comments on commit 24eb666

Please sign in to comment.