mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 13:16:48 +09:00
L #-: Linting actions
* remove underscore prefix for a variable that is being used * align multi line array values
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -188,14 +188,14 @@ class OneVcenterHelper < OpenNebulaHelper::OneHelper
|
||||
|
||||
# This method will print a list for a vcenter_resource.
|
||||
#
|
||||
def list_object(_options, list)
|
||||
def list_object(options, list)
|
||||
vcenter_host = list.keys[0]
|
||||
list = cli_format(list.values.first)
|
||||
table = format_list
|
||||
|
||||
show_header(vcenter_host)
|
||||
|
||||
table.show(list, _options)
|
||||
table.show(list, options)
|
||||
end
|
||||
|
||||
# handles :cli section of TABLE
|
||||
|
||||
+1
-1
@@ -166,7 +166,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
command :list,
|
||||
list_desc,
|
||||
:options => [OBJECT, HOST, DATASTORE, VCENTER, USER, PASS,
|
||||
CLIHelper::CSV_OPT] do
|
||||
CLIHelper::CSV_OPT] do
|
||||
begin
|
||||
args = helper.parse_opts(options)
|
||||
args[:filter] = true
|
||||
|
||||
Reference in new issue
Block a user