mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #1854: Rename command set-cardinality to scale
This commit is contained in:
1 parent
626dfa4b88
commit
3f6573b5aa
1 file changed
+3
-3
@@ -508,14 +508,14 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
|
||||
#
|
||||
# Set cardinality
|
||||
# Scale
|
||||
#
|
||||
|
||||
set_cardinality_desc = <<-EOT.unindent
|
||||
scale_desc = <<-EOT.unindent
|
||||
Scale a role to the given cardinality
|
||||
EOT
|
||||
|
||||
command :'set-cardinality', set_cardinality_desc, :service_id, :role_name,
|
||||
command :'scale', scale_desc, :service_id, :role_name,
|
||||
:cardinality, :options => [Service::FORCE] do
|
||||
client = Service::Client.new(
|
||||
:username => options[:username],
|
||||
|
||||
Reference in new issue
Block a user