-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the following errors: cmd/certificate_info_table.go:29:40: printf: non-constant format string in call to (*github.com/fatih/color.Color).Sprintf (govet) Title: color.New(color.Bold).Sprintf(color.YellowString("CERTIFICATE EXPIRY DATE INFORMATION")), ^ cmd/certificate_info_table_test.go:33:66: printf: non-constant format string in call to (*github.com/fatih/color.Color).Sprintf (govet) Expect(ui.Table.Title).To(Equal(color.New(color.Bold).Sprintf(color.YellowString("CERTIFICATE EXPIRY DATE INFORMATION")))) ^ cmd/environment_test.go:181:43: printf: non-constant format string in call to (*github.com/fatih/color.Color).Sprintf (govet) Title: color.New(color.Bold).Sprintf(color.YellowString("CERTIFICATE EXPIRY DATE INFORMATION")), ^ deployment/vm/vm.go:27:1: SA9009: ineffectual compiler directive due to extraneous space: "// go:generate counterfeiter . VM" (staticcheck) // go:generate counterfeiter . VM ^ director/config_diff.go:51:34: printf: non-constant format string in call to github.com/cloudfoundry/bosh-utils/errors.Errorf (govet) return resp, bosherr.Errorf(errorDescription[1]) ^ director/config_diff.go:53:34: printf: non-constant format string in call to github.com/cloudfoundry/bosh-utils/errors.Errorf (govet) return resp, bosherr.Errorf(err.Error()) ^ ssh/host.go:66:6: S1009: should omit nil check; len() for []string is defined as zero (gosimple) if targetVM.IPs == nil || len(targetVM.IPs) == 0 { ^ ui/table/writer.go:140:32: printf: non-constant format string in call to fmt.Fprintf (govet) _, err := fmt.Fprintf(w.w, w.borderStr) ^ ui/table/writer.go:145:32: printf: non-constant format string in call to fmt.Fprintf (govet) _, err := fmt.Fprintf(w.w, strings.Repeat(w.bgStr, paddingSize)+w.borderStr) Signed-off-by: Nitin Ravindran <[email protected]>
- Loading branch information
1 parent
73b4202
commit f6d499e
Showing
7 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters