@@ -85,12 +85,12 @@ class Server extends AbstractResource implements
85
85
86
86
protected $ aliases = [
87
87
'block_device_mapping_v2 ' => 'blockDeviceMapping ' ,
88
- 'accessIPv4 ' => 'ipv4 ' ,
89
- 'accessIPv6 ' => 'ipv6 ' ,
90
- 'tenant_id ' => 'tenantId ' ,
91
- 'user_id ' => 'userId ' ,
92
- 'security_groups ' => 'securityGroups ' ,
93
- 'OS-EXT-STS:task_state ' => 'taskState ' ,
88
+ 'accessIPv4 ' => 'ipv4 ' ,
89
+ 'accessIPv6 ' => 'ipv6 ' ,
90
+ 'tenant_id ' => 'tenantId ' ,
91
+ 'user_id ' => 'userId ' ,
92
+ 'security_groups ' => 'securityGroups ' ,
93
+ 'OS-EXT-STS:task_state ' => 'taskState ' ,
94
94
];
95
95
96
96
/**
@@ -141,7 +141,7 @@ public function changePassword($newPassword)
141
141
{
142
142
$ this ->execute ($ this ->api ->changeServerPassword (), [
143
143
'id ' => $ this ->id ,
144
- 'password ' => $ newPassword
144
+ 'password ' => $ newPassword,
145
145
]);
146
146
}
147
147
@@ -171,7 +171,7 @@ public function rebuild(array $options)
171
171
{
172
172
$ options ['id ' ] = $ this ->id ;
173
173
$ response = $ this ->execute ($ this ->api ->rebuildServer (), $ options );
174
-
174
+
175
175
$ this ->populateFromResponse ($ response );
176
176
}
177
177
@@ -184,7 +184,7 @@ public function rebuild(array $options)
184
184
public function resize ($ flavorId )
185
185
{
186
186
$ response = $ this ->execute ($ this ->api ->resizeServer (), [
187
- 'id ' => $ this ->id ,
187
+ 'id ' => $ this ->id ,
188
188
'flavorId ' => $ flavorId ,
189
189
]);
190
190
0 commit comments