Skip to content

Commit

Permalink
Fix lint issues and enable test check
Browse files Browse the repository at this point in the history
  • Loading branch information
mogren committed Oct 12, 2020
1 parent e96164e commit 1c1d4b9
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install:
script:
- make check-format
- make build-linux
- make lint LINT_FLAGS=
- make lint
- make vet
- make unit-test

Expand Down
2 changes: 1 addition & 1 deletion cmd/routed-eni-cni-plugin/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// CNI network driver setting up iptables, routes and rules
// Package driver is the CNI network driver setting up iptables, routes and rules
package driver

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/awsutils/awsutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Util package to interact with EC2
// Package awsutils is a utility package for calling EC2 or IMDS
package awsutils

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/cri/cri.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Package to get running sandboxes from the CRI socket
// Package cri is used to get running sandboxes from the CRI socket
package cri

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/grpcwrapper/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper for the ipamd client Dial interface
// Package grpcwrapper is a wrapper for the ipamd client Dial interface
package grpcwrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/ipwrapper/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper interface for the containernetworking ip plugin
// Package ipwrapper is a wrapper interface for the containernetworking ip plugin
package ipwrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/netlinkwrapper/netlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper methods for the netlink package
// Package netlinkwrapper is a wrapper methods for the netlink package
package netlinkwrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/networkutils/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Collection of iptables and netlink functions
// Package networkutils is a collection of iptables and netlink functions
package networkutils

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/nswrapper/ns.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper interface for the containernetworking ns plugin
// Package nswrapper is a wrapper interface for the containernetworking ns plugin
package nswrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/procsyswrapper/procsys.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper package for doing /proc/sys calls
// Package procsyswrapper contains helper functions for doing /proc/sys calls
package procsyswrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/rpcwrapper/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper for the CNI IPAMD pod connection
// Package rpcwrapper is a wrapper for the CNI IPAMD pod connection
package rpcwrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/typeswrapper/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Wrapper interface for containernetworking types package
// Package typeswrapper is a wrapper interface for containernetworking types package
package typeswrapper

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// CNI Logger interface, using zap
// Package logger is the CNI Logger interface, using zap
package logger

//Log is global variable so that log functions can be directly accessed
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/retry/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

// Retry with backoff implementation
// Package retry is a retry with backoff implementation
package retry

import (
Expand Down

0 comments on commit 1c1d4b9

Please sign in to comment.