Move from go-yaml/yaml to ghodss/yaml

This commit is contained in:
Sam Ghods
2014-11-30 20:12:37 -08:00
parent 603ec33821
commit 9a9a1e0939
27 changed files with 61 additions and 122 deletions

View File

@@ -20,7 +20,7 @@ import (
"errors"
"fmt"
"gopkg.in/v1/yaml"
"github.com/ghodss/yaml"
)
// Decode converts a YAML or JSON string back into a pointer to an api object.

View File

@@ -20,7 +20,7 @@ import (
"fmt"
"reflect"
"gopkg.in/v1/yaml"
"github.com/ghodss/yaml"
)
// MetaFactory is used to store and retrieve the version and kind

View File

@@ -26,8 +26,8 @@ import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/ghodss/yaml"
"github.com/google/gofuzz"
"gopkg.in/v1/yaml"
)
var fuzzIters = flag.Int("fuzz_iters", 50, "How many fuzzing iterations to do.")