Skip to content
Permalink
Browse files

use fmt.Println instead of println

  • Loading branch information...
BenTheElder committed May 15, 2019
1 parent a25f57d commit b2979a2904094b120c480c5f4155f2df5069a783
Showing with 4 additions and 2 deletions.
  1. +3 −1 cmd/kind/version/version.go
  2. +1 −1 pkg/build/kube/bazelbuildbits.go
@@ -18,6 +18,8 @@ limitations under the License.
package version

import (
"fmt"

"github.com/spf13/cobra"
)

@@ -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
},
}
@@ -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

0 comments on commit b2979a2

Please sign in to comment.
You can’t perform that action at this time.