Skip to content

Commit

Permalink
enable gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Jan 16, 2020
1 parent 308fc49 commit c581f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ golangci-lint run --disable-all \
--enable=gocyclo \
--enable=goconst \
--enable=maligned \
--enable=gosec \

##todo(camilamacedo86): The following checks requires fixes in the code
# --enable=golint
# --enable=lll
# --enable=gosec
1 change: 1 addition & 0 deletions test/e2e/utils/test_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func (kc *KBTestContext) Make(makeOptions ...string) error {

// CleanupImage is for cleaning up the docker images for testing
func (kc *KBTestContext) Destroy() {
// nolint:gosec
cmd := exec.Command("docker", "rmi", "-f", kc.ImageName)
if _, err := kc.Run(cmd); err != nil {
fmt.Fprintf(GinkgoWriter, "warning: error when removing the local image: %v\n", err)
Expand Down

0 comments on commit c581f28

Please sign in to comment.