lib/cf/cli/space/rename.rb in cf-0.6.1.rc4 vs lib/cf/cli/space/rename.rb in cf-0.6.1.rc5
- old
+ new
@@ -9,10 +9,9 @@
:default => proc { client.current_organization }
input :space, :desc => "Space to rename", :argument => :optional,
:from_given => by_name(:space)
input :name, :desc => "New space name", :argument => :optional
def rename_space
- org = input[:organization]
space = input[:space, org]
name = input[:name]
space.name = name