Created
October 1, 2017 21:32
-
-
Save cocotton/e9774d370c82976ca7267949ec55aaa9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
masterCloudConfig, err := r.cloudConfig.NewMasterCloudConfig(cluster) | |
if err != nil { | |
return Deployment{}, microerror.Mask(err) | |
} | |
data, _ := base64.StdEncoding.DecodeString(masterCloudConfig) | |
rdata := bytes.NewReader(data) | |
k, _ := gzip.NewReader(rdata) | |
s, _ := ioutil.ReadAll(k) | |
masterCloudConfig = base64.StdEncoding.EncodeToString(s) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment