Merge pull request #5162 from tstromberg/goimports-s-w

Run gofmt -w -s
pull/5164/head
Thomas Strömberg 2019-08-21 11:44:47 -07:00 committed by GitHub
commit 644f85e695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ var generateDocs = &cobra.Command{
Short: "Populates the specified folder with documentation in markdown about minikube",
Long: "Populates the specified folder with documentation in markdown about minikube",
Example: "minikube generate-docs --path <FOLDER_PATH>",
Hidden: true,
Hidden: true,
Run: func(cmd *cobra.Command, args []string) {
// if directory does not exist

View File

@ -156,7 +156,7 @@ func applyStyle(style StyleEnum, useColor bool, format string) string {
func applyTemplateFormatting(style StyleEnum, useColor bool, format string, a ...V) string {
if a == nil {
a = []V{V{}}
a = []V{{}}
}
format = applyStyle(style, useColor, format)