Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyunchen committed Jun 20, 2018
1 parent 02a6ed8 commit d801b7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ install:
- make pre-build

script:
- sudo -E env PATH=$$PATH TEST_K8S=1
- make build
- make test
- make src.test-coverage
Expand All @@ -44,4 +45,4 @@ deploy:

after_success:
- cp build/src/coverage.txt coverage.txt
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion src/kubernetes/nodes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ func TestGetNodes(t *testing.T) {
clientset, err := kubernetes.NewClientset()
assert.NoError(t, err)

nodes, err := GetNodes(clientset)
_, err = GetNodes(clientset)
assert.NoError(t, err)
}

0 comments on commit d801b7f

Please sign in to comment.