Skip to content

Commit ee02f66

Browse files
flaper87pierreprinetti
authored andcommitted
Use gopkg.in/yaml.v2 for clientconfig objects (openshift#179)
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.
1 parent 7f99da3 commit ee02f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/openstack/clients/machineservice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"encoding/base64"
2121
"fmt"
2222

23+
"gopkg.in/yaml.v2"
2324
"k8s.io/client-go/kubernetes"
24-
"sigs.k8s.io/yaml"
2525

2626
"github.com/gophercloud/gophercloud"
2727
"github.com/gophercloud/gophercloud/openstack"

0 commit comments

Comments
 (0)