Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Nov 12, 2021
1 parent 3bf856f commit a991781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/skaffold/kubernetes/status/status_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ func (s *monitor) statusCheck(ctx context.Context, out io.Writer) (proto.StatusC

ctx, cancel := context.WithCancel(ctx)
defer cancel()
// Set default status check exit code.
var exitStatusCode proto.StatusCode

for _, d := range resources {
Expand Down
4 changes: 2 additions & 2 deletions pkg/skaffold/kubernetes/status/status_check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ func TestExitErrorMessage(t *testing.T) {
shouldErr: true,
},
{
description: "0 deployments",
counter: &counter{total: 0},
description: "0 deployments",
counter: &counter{total: 0},
expectedCode: proto.StatusCode_STATUSCHECK_SUCCESS,
},
{
Expand Down

0 comments on commit a991781

Please sign in to comment.