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

@@ -23,8 +23,8 @@ import (
"os"
"strings"
"github.com/ghodss/yaml"
"github.com/golang/glog"
"gopkg.in/v1/yaml"
)
const usage = "usage: enscope specFilename configFilename"

View File

@@ -37,7 +37,7 @@ import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta1"
dockerclient "github.com/fsouza/go-dockerclient"
"gopkg.in/v1/yaml"
"github.com/ghodss/yaml"
)
const usage = "usage: podex [-json|-yaml] [-id PODNAME] IMAGES"

View File

@@ -35,8 +35,8 @@ import (
// TODO: handle multiple versions correctly
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta1"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/ghodss/yaml"
"github.com/golang/glog"
"gopkg.in/v1/yaml"
)
// TODO: Also handle lists of simple services, and multiple input files

View File

@@ -45,8 +45,8 @@ import (
// it should be possible to specify the version for the whole map.
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta3"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/ghodss/yaml"
"github.com/golang/glog"
"gopkg.in/v1/yaml"
)
const usage = "usage: srvexpand filename"