Skip to content

Commit

Permalink
Use gopkg.in/yaml.v2 for clientconfig objects (openshift#179)
Browse files Browse the repository at this point in the history
We ought to use the same yaml package used by clientconfig in order to
marshall/unmarshall Auth structs to/from yaml correctly. Using any other
yaml library will fail to load the auth data from secrets.
  • Loading branch information
flaper87 committed Jan 10, 2019
1 parent 641fb87 commit 8651cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/openstack/clients/machineservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"encoding/base64"
"fmt"

"gopkg.in/yaml.v2"
"k8s.io/client-go/kubernetes"
"sigs.k8s.io/yaml"

"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/openstack"
Expand Down

0 comments on commit 8651cf0

Please sign in to comment.