projects
/
webservice-scaleway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
362a19d
)
Fix perform_server_action
author
Marius Gavrilescu
<marius@ieval.ro>
Sun, 20 Sep 2015 16:39:18 +0000
(19:39 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sun, 20 Sep 2015 16:39:18 +0000
(19:39 +0300)
lib/WebService/Scaleway.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/WebService/Scaleway.pm
b/lib/WebService/Scaleway.pm
index d4ea8b63c5f278b4897943c6afaa086334fef77c..9c327e6c77a69b5a1ee41926aafae865d1359c21 100644
(file)
--- a/
lib/WebService/Scaleway.pm
+++ b/
lib/WebService/Scaleway.pm
@@
-155,7
+155,7
@@
sub server_actions {
BEGIN { *list_server_actions = \&server_actions }
sub perform_server_action {
- my $content = encode_json { action => $_[
1
] };
+ my $content = encode_json { action => $_[
2
] };
_tores shift->_post(_api "/servers/$_[0]/action", { content => $content })->{task};
}
This page took
0.013255 seconds
and
4
git commands to generate.