-
Notifications
You must be signed in to change notification settings - Fork 113
Update code to handle lint issues after golangci-lint update to v1.6.0 #528
Conversation
Update go version because golangci-lint v1.16.0 cannot work OK with go 1.10. Fixes: kata-containers#527 Signed-off-by: Hui Zhu <teawater@hyper.sh>
To fix lint issues in #526 |
Update code to handle lint issues after golangci-lint update to v1.6.0. Fixes: kata-containers#527 Signed-off-by: Hui Zhu <teawater@hyper.sh>
/test |
Travis still failing, but that is due to the same golang binary issue as kata-containers/runtime#1506 I think?
|
Using xenial to handle the issue that using trusty in travis and go 1.11.7. Fixes: kata-containers#527 Signed-off-by: Hui Zhu <teawater@hyper.sh>
/test |
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad to see that continuous-integration/travis-ci/pr
is passing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
l g t m
but I'd like to hear from @chavafg if we can before we land it.
Update code to handle lint issues after golangci-lint update to v1.6.0 (cherry picked from commit 801d792) Fixes: kata-containers#527 Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
- backport: 1.6.2 backport patches ccc8b26 lint: Merge pull request kata-containers#491 from ganeshmaharaj/go-linter-change 200d8e4 golang: Merge pull request kata-containers#528 from teawater/lint d1ace1b license: Merge pull request kata-containers#532 from jcvenegas/stable-1.5-fix-travis 0dbf85d agent: Merge pull request kata-containers#526 from lifupan/stopfix Signed-off-by: katacontainers bot <katacontainersbot@katacontainers.io>
Update go version because golangci-lint v1.16.0 cannot work OK with go 1.10.
Fixes: #527
Signed-off-by: Hui Zhu teawater@hyper.sh