Think we can drop this
Now that we rescue at the top level
This commit is contained in:
@@ -3,6 +3,7 @@ class Mrsk::Cli::Registry < Mrsk::Cli::Base
|
|||||||
def login
|
def login
|
||||||
run_locally { execute *MRSK.registry.login }
|
run_locally { execute *MRSK.registry.login }
|
||||||
on(MRSK.hosts) { execute *MRSK.registry.login }
|
on(MRSK.hosts) { execute *MRSK.registry.login }
|
||||||
|
# FIXME: This rescue needed?
|
||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
puts e.message
|
puts e.message
|
||||||
end
|
end
|
||||||
@@ -10,6 +11,7 @@ class Mrsk::Cli::Registry < Mrsk::Cli::Base
|
|||||||
desc "logout", "Log out of registry remotely"
|
desc "logout", "Log out of registry remotely"
|
||||||
def logout
|
def logout
|
||||||
on(MRSK.hosts) { execute *MRSK.registry.logout }
|
on(MRSK.hosts) { execute *MRSK.registry.logout }
|
||||||
|
# FIXME: This rescue needed?
|
||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
puts e.message
|
puts e.message
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user