File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,9 @@ type Base64PatchedServer struct {
194194}
195195
196196// ConvertToBase64PatchedServer converts an iaas.Server to Base64PatchedServer
197+ // This is a temporary workaround to get the desired base64 encoded yaml output for userdata
198+ // and will be replaced by a fix in the Go-SDK
199+ // ref: https://jira.schwarz/browse/STACKITSDK-246
197200func ConvertToBase64PatchedServer (server * iaas.Server ) * Base64PatchedServer {
198201 if server == nil {
199202 return nil
@@ -232,6 +235,9 @@ func ConvertToBase64PatchedServer(server *iaas.Server) *Base64PatchedServer {
232235}
233236
234237// ConvertToBase64PatchedServers converts a slice of iaas.Server to a slice of Base64PatchedServer
238+ // This is a temporary workaround to get the desired base64 encoded yaml output for userdata
239+ // and will be replaced by a fix in the Go-SDK
240+ // ref: https://jira.schwarz/browse/STACKITSDK-246
235241func ConvertToBase64PatchedServers (servers []iaas.Server ) []Base64PatchedServer {
236242 if servers == nil {
237243 return nil
You can’t perform that action at this time.
0 commit comments