You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2012/11/14 09:27:50 UTC

[PATCH] CIMI - Fix Typo in machine restart route - DTACLOUD-368

From: marios <ma...@redhat.com>

https://issues.apache.org/jira/browse/DTACLOUD-368

Signed-off-by: marios <ma...@redhat.com>
---
 server/lib/cimi/collections/machines.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/lib/cimi/collections/machines.rb b/server/lib/cimi/collections/machines.rb
index 6fdfbc2..963ce06 100644
--- a/server/lib/cimi/collections/machines.rb
+++ b/server/lib/cimi/collections/machines.rb
@@ -85,7 +85,7 @@ module CIMI::Collections
         end
       end
 
-      action :restart, :with_capability => :restart_instance do
+      action :restart, :with_capability => :reboot_instance do
         description "Start specific machine."
         param :id,          :string,    :required
         control do
-- 
1.7.11.7


Re: [PATCH] CIMI - Fix Typo in machine restart route - DTACLOUD-368

Posted by Michal Fojtik <mf...@redhat.com>.
On Nov 14, 2012, at 9:27 AM, marios@redhat.com wrote:

ACK.

> From: marios <ma...@redhat.com>
> 
> https://issues.apache.org/jira/browse/DTACLOUD-368
> 
> Signed-off-by: marios <ma...@redhat.com>
> ---
> server/lib/cimi/collections/machines.rb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/lib/cimi/collections/machines.rb b/server/lib/cimi/collections/machines.rb
> index 6fdfbc2..963ce06 100644
> --- a/server/lib/cimi/collections/machines.rb
> +++ b/server/lib/cimi/collections/machines.rb
> @@ -85,7 +85,7 @@ module CIMI::Collections
>         end
>       end
> 
> -      action :restart, :with_capability => :restart_instance do
> +      action :restart, :with_capability => :reboot_instance do
>         description "Start specific machine."
>         param :id,          :string,    :required
>         control do
> -- 
> 1.7.11.7
> 

Michal Fojtik
http://deltacloud.org
mfojtik@redhat.com