Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
Co-authored-by: George L. Yermulnik <yz@yz.kiev.ua>
  • Loading branch information
MatrixCrawler and yermulnik authored Apr 11, 2024
1 parent 1c53841 commit c0b581e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ func main() {
case *versionFlag:
//if *versionFlag {
if version != nil {
logger.Infof("Version: %s", version)
fmt.Printf("Version: %s\n", version)

Check failure on line 93 in main.go

View workflow job for this annotation

GitHub Actions / integration_tests_linux (ubuntu-latest, 1.22)

fmt.Printf format %s has arg version of wrong type *string

Check failure on line 93 in main.go

View workflow job for this annotation

GitHub Actions / fmt_and_vet

fmt.Printf format %s has arg version of wrong type *string

Check failure on line 93 in main.go

View workflow job for this annotation

GitHub Actions / integration_tests_windows (windows-latest, 1.22)

fmt.Printf format %s has arg version of wrong type *string
} else {
logger.Error("Version not set correctly.")
fmt.Println("Version not defined during build.")
}
case *helpFlag:
//} else if *helpFlag {
Expand Down

0 comments on commit c0b581e

Please sign in to comment.