Преглед изворни кода

Fix lint make target

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza пре 4 година
родитељ
комит
3bf555cbd6
3 измењених фајлова са 3 додато и 1 уклоњено
  1. 1 1
      Dockerfile
  2. 1 0
      cmd/compose/compose.go
  3. 1 0
      pkg/e2e/cancel_test.go

+ 1 - 1
Dockerfile

@@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
 
 FROM base AS lint
 ENV CGO_ENABLED=0
-COPY --from=lint-base /usr/bin/golangci-lint /usr/bin/golangci-lint
+COPY --from=golangci/golangci-lint /usr/bin/golangci-lint /usr/bin/golangci-lint
 ARG BUILD_TAGS
 ARG GIT_TAG
 RUN --mount=target=. \

+ 1 - 0
cmd/compose/compose.go

@@ -44,6 +44,7 @@ import (
 // Command defines a compose CLI command as a func with args
 type Command func(context.Context, []string) error
 
+// CobraCommand defines a cobra command function
 type CobraCommand func(context.Context, *cobra.Command, []string) error
 
 // AdaptCmd adapt a CobraCommand func to cobra library

+ 1 - 0
pkg/e2e/cancel_test.go

@@ -1,3 +1,4 @@
+//go:build !windows
 // +build !windows
 
 /*