mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
gofmt rkt.go, rkt_test.go
This commit is contained in:
@@ -1955,9 +1955,9 @@ func TestPreparePodArgs(t *testing.T) {
|
||||
|
||||
func TestConstructSyslogIdentifier(t *testing.T) {
|
||||
testCases := []struct {
|
||||
podName string
|
||||
podGenerateName string
|
||||
identifier string
|
||||
podName string
|
||||
podGenerateName string
|
||||
identifier string
|
||||
}{
|
||||
{
|
||||
"prometheus-node-exporter-rv90m",
|
||||
@@ -1979,4 +1979,4 @@ func TestConstructSyslogIdentifier(t *testing.T) {
|
||||
identifier := constructSyslogIdentifier(testCase.podGenerateName, testCase.podName)
|
||||
assert.Equal(t, testCase.identifier, identifier, fmt.Sprintf("Test case #%d", i))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user