diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d239205..8745cb8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: uses: golangci/golangci-lint-action@v6 with: # Required: the version of golangci-lint is required and must be specified with patch version - version: v1.59.1 # renovate: datasource=github-releases depName=golangci/golangci-lint + version: v1.60.1 # renovate: datasource=github-releases depName=golangci/golangci-lint # In general linting is quite fast with warm caches, but a fresh run might take some time. args: --timeout 5m diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0f6c84f..69adaa93 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ build: test:lint: stage: test - image: golangci/golangci-lint:v1.59 + image: golangci/golangci-lint:v1.60 script: - golangci-lint run -v diff --git a/internal/cmd/iso/describe.go b/internal/cmd/iso/describe.go index f14b3d84..28136290 100644 --- a/internal/cmd/iso/describe.go +++ b/internal/cmd/iso/describe.go @@ -31,7 +31,7 @@ var DescribeCmd = base.DescribeCmd{ cmd.Printf("Name:\t\t%s\n", iso.Name) cmd.Printf("Description:\t%s\n", iso.Description) cmd.Printf("Type:\t\t%s\n", iso.Type) - cmd.Printf(util.DescribeDeprecation(iso)) + cmd.Print(util.DescribeDeprecation(iso)) architecture := "-" if iso.Architecture != nil { diff --git a/internal/cmd/server/describe.go b/internal/cmd/server/describe.go index 8420276c..851460e3 100644 --- a/internal/cmd/server/describe.go +++ b/internal/cmd/server/describe.go @@ -43,7 +43,7 @@ var DescribeCmd = base.DescribeCmd{ cmd.Printf(" Memory:\t%v GB\n", server.ServerType.Memory) cmd.Printf(" Disk:\t\t%d GB\n", server.PrimaryDiskSize) cmd.Printf(" Storage Type:\t%s\n", server.ServerType.StorageType) - cmd.Printf(util.PrefixLines(util.DescribeDeprecation(server.ServerType), " ")) + cmd.Print(util.PrefixLines(util.DescribeDeprecation(server.ServerType), " ")) cmd.Printf("Public Net:\n") cmd.Printf(" IPv4:\n") diff --git a/internal/cmd/servertype/describe.go b/internal/cmd/servertype/describe.go index 8418793f..ed18bccd 100644 --- a/internal/cmd/servertype/describe.go +++ b/internal/cmd/servertype/describe.go @@ -36,7 +36,7 @@ var DescribeCmd = base.DescribeCmd{ cmd.Printf("Memory:\t\t\t%.1f GB\n", serverType.Memory) cmd.Printf("Disk:\t\t\t%d GB\n", serverType.Disk) cmd.Printf("Storage Type:\t\t%s\n", serverType.StorageType) - cmd.Printf(util.DescribeDeprecation(serverType)) + cmd.Print(util.DescribeDeprecation(serverType)) pricings, err := fullPricingInfo(s, serverType) if err != nil {