Skip to content

Commit 1aa3ac1

Browse files
committed
fix tests
1 parent 0eabdc0 commit 1aa3ac1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/skaffold/build/build_problems.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ import (
2020
"fmt"
2121
"regexp"
2222

23+
"github.com/sirupsen/logrus"
24+
2325
"github.com/GoogleContainerTools/skaffold/pkg/skaffold/config"
2426
"github.com/GoogleContainerTools/skaffold/pkg/skaffold/constants"
2527
sErrors "github.com/GoogleContainerTools/skaffold/pkg/skaffold/errors"
2628
"github.com/GoogleContainerTools/skaffold/proto/v1"
27-
"github.com/sirupsen/logrus"
2829
)
2930

3031
const (
@@ -47,7 +48,7 @@ var (
4748
{
4849
Regexp: re(fmt.Sprintf(".*%s.* denied: .*", PushImageErr)),
4950
ErrCode: proto.StatusCode_BUILD_PUSH_ACCESS_DENIED,
50-
Description: func(error) string {
51+
Description: func(err error) string {
5152
logrus.Tracef("error building %s", err)
5253
return "Build Failed. No push access to specified image repository"
5354
},

0 commit comments

Comments
 (0)