mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Merge pull request #2567 from pwittrock/kubectl-krm
Refactor kustomize config command structure
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"sigs.k8s.io/kustomize/kyaml/kio"
|
||||
. "sigs.k8s.io/kustomize/kyaml/kio"
|
||||
"sigs.k8s.io/kustomize/kyaml/yaml"
|
||||
)
|
||||
@@ -22,7 +21,7 @@ func TestByteWriter(t *testing.T) {
|
||||
functionConfig string
|
||||
results string
|
||||
expectedOutput string
|
||||
instance kio.ByteWriter
|
||||
instance ByteWriter
|
||||
}
|
||||
|
||||
testCases := []testCase{
|
||||
|
||||
@@ -857,7 +857,7 @@ func ExampleRNode_Elements() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
for i, e := range elements {
|
||||
fmt.Println(fmt.Sprintf("Element: %d", i))
|
||||
fmt.Printf("Element: %d\n", i)
|
||||
fmt.Println(e.MustString())
|
||||
}
|
||||
// Output:
|
||||
|
||||
Reference in New Issue
Block a user