mirror of
https://github.com/rancher/plugins.git
synced 2025-09-03 11:23:26 +00:00
pkg: add a function to generate chain names
Adds a function to generate chain names for use in iptables and ports all drivers to use that function. Also adds tests for the said function.
This commit is contained in:
committed by
Stefan Junker
parent
dc44feb5b5
commit
b87cf1ba9c
13
utils/utils_suite_test.go
Normal file
13
utils/utils_suite_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package utils_test
|
||||
|
||||
import (
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestUtils(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Utils Suite")
|
||||
}
|
Reference in New Issue
Block a user