diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index f7f496e1..bbff367c 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -4,7 +4,7 @@ ARG GO_VERSION=1.19 FROM golang:${GO_VERSION}-alpine RUN apk add --no-cache git gcc musl-dev -RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2 +RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 WORKDIR /go/src/github.com/docker/buildx RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ golangci-lint run diff --git a/util/userfunc/doc.go b/util/userfunc/doc.go index e4461d45..995d9289 100644 --- a/util/userfunc/doc.go +++ b/util/userfunc/doc.go @@ -7,10 +7,10 @@ // // The function declaration syntax looks like this: // -// function "foo" { -// params = ["name"] -// result = "Hello, ${name}!" -// } +// function "foo" { +// params = ["name"] +// result = "Hello, ${name}!" +// } // // When a user-defined function is called, the expression given for the "result" // attribute is evaluated in an isolated evaluation context that defines variables