Skip to content

Commit

Permalink
use fmt.Println instead of println
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed May 15, 2019
1 parent a25f57d commit b2979a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cmd/kind/version/version.go
Expand Up @@ -18,6 +18,8 @@ limitations under the License.
package version

import (
"fmt"

"github.com/spf13/cobra"
)

Expand All @@ -33,7 +35,7 @@ func NewCommand() *cobra.Command {
Short: "prints the kind CLI version",
Long: "prints the kind CLI version",
RunE: func(cmd *cobra.Command, args []string) error {
println(Version)
fmt.Println(Version)
return nil
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/kube/bazelbuildbits.go
Expand Up @@ -136,7 +136,7 @@ func fixOldImageTags(path, arch string) error {
archSuffix := "-" + arch
repositoryFixer := func(repository string) string {
if !strings.HasSuffix(repository, archSuffix) {
println("fixed: " + repository + " -> " + repository + archSuffix)
fmt.Println("fixed: " + repository + " -> " + repository + archSuffix)
repository = repository + archSuffix
}
return repository
Expand Down

0 comments on commit b2979a2

Please sign in to comment.