Skip to content

Commit 4428802

Browse files
committed
generate code again after rebase
1 parent 3a9d038 commit 4428802

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cloudstack/BackupService.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,7 @@ func (p *CreateVMFromBackupParams) toURLValues() url.Values {
922922
if v, found := p.p["userdatadetails"]; found {
923923
m := v.(map[string]string)
924924
for i, k := range getSortedKeysFromMap(m) {
925-
u.Set(fmt.Sprintf("userdatadetails[%d].key", i), k)
926-
u.Set(fmt.Sprintf("userdatadetails[%d].value", i), m[k])
925+
u.Set(fmt.Sprintf("userdatadetails[%d].%s", i, k), m[k])
927926
}
928927
}
929928
if v, found := p.p["userdataid"]; found {

0 commit comments

Comments
 (0)