mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-15 22:14:52 +00:00
Ignore dot-imports error message only for go test files
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
// Package cmdutils is the package that contains utilities for multus command
|
||||
package cmdutils
|
||||
|
||||
// disable dot-imports only for testing
|
||||
//revive:disable:dot-imports
|
||||
import (
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
|
@@ -15,6 +15,8 @@
|
||||
// Package cmdutils is the package that contains utilities for multus command
|
||||
package cmdutils
|
||||
|
||||
// disable dot-imports only for testing
|
||||
//revive:disable:dot-imports
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
Reference in New Issue
Block a user