Skip to content

Commit e105dff

Browse files
committed
added comments
1 parent a8c35c4 commit e105dff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/pkg/utils/utils.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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
197200
func 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
235241
func ConvertToBase64PatchedServers(servers []iaas.Server) []Base64PatchedServer {
236242
if servers == nil {
237243
return nil

0 commit comments

Comments
 (0)