Comment out part of script that is likely only needed on first run

This commit is contained in:
Katrina Verey
2021-06-30 10:18:11 -07:00
parent b465c20f65
commit e583f199b8
2 changed files with 4 additions and 2 deletions

View File

@@ -99,8 +99,9 @@ find kyaml/internal/forked/github.com/go-yaml/yaml -name "*.go" -type f | xargs
rm kyaml/internal/forked/github.com/go-yaml/yaml/go.mod
git commit --all -m "Internalize forked code"
explain "Cherry-picking the commits from our test fixes in Kustomize PR"
cherry-pick https://github.com/kubernetes-sigs/kustomize $KUSTOMIZE_PR
# This is only necessary in the initial forking of the code
# explain "Cherry-picking the commits from our test fixes in Kustomize PR"
# cherry-pick https://github.com/kubernetes-sigs/kustomize $KUSTOMIZE_PR
explain "SUCCEEDED."
exit 0

View File

@@ -30,6 +30,7 @@ type Node = yaml.Node
type Style = yaml.Style
type TypeError = yaml.TypeError
type Unmarshaler = yaml.Unmarshaler
var Marshal = func(in interface{}) ([]byte, error) {
var buf bytes.Buffer
err := NewEncoder(&buf).Encode(in)