Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting errors #14

Merged
merged 3 commits into from
Sep 12, 2023
Merged

Fix linting errors #14

merged 3 commits into from
Sep 12, 2023

Commits on Sep 12, 2023

  1. Fix linting error in pkg/docker/info.go

    S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
    
    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    bdac201 View commit details
    Browse the repository at this point in the history
  2. Fix linting error in pkg/cluster/formatter.go

    SA4005: ineffective assignment to field writer.err (staticcheck)
    
    (function converted to pointer receiver and usage changed)
    
    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    bbaa19b View commit details
    Browse the repository at this point in the history
  3. Fix linting error in pkg/config/get.go

    SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
    
    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    6554164 View commit details
    Browse the repository at this point in the history