diff --git a/plugins/meta/bandwidth/bandwidth_linux_test.go b/plugins/meta/bandwidth/bandwidth_linux_test.go index d1e50cf2..befc6f67 100644 --- a/plugins/meta/bandwidth/bandwidth_linux_test.go +++ b/plugins/meta/bandwidth/bandwidth_linux_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package bandwidth +package main import ( "encoding/json" diff --git a/plugins/meta/bandwidth/bandwidth_suite_test.go b/plugins/meta/bandwidth/bandwidth_suite_test.go index c96d6c9e..3af44271 100644 --- a/plugins/meta/bandwidth/bandwidth_suite_test.go +++ b/plugins/meta/bandwidth/bandwidth_suite_test.go @@ -1,5 +1,3 @@ -package bandwidth - // Copyright 2018 CNI authors // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,6 +11,7 @@ package bandwidth // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +package main import ( "bytes" diff --git a/plugins/meta/bandwidth/ifb_creator.go b/plugins/meta/bandwidth/ifb_creator.go index 48e6b094..a7032c0e 100644 --- a/plugins/meta/bandwidth/ifb_creator.go +++ b/plugins/meta/bandwidth/ifb_creator.go @@ -1,5 +1,3 @@ -package bandwidth - // Copyright 2018 CNI authors // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,6 +12,8 @@ package bandwidth // See the License for the specific language governing permissions and // limitations under the License. +package main + import ( "fmt" "net" diff --git a/plugins/meta/bandwidth/main.go b/plugins/meta/bandwidth/main.go index 82884643..9835eef3 100644 --- a/plugins/meta/bandwidth/main.go +++ b/plugins/meta/bandwidth/main.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package bandwidth +package main import ( "crypto/sha1"