Skip to content

Commit

Permalink
Request text output for get_module_list fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
chuhn committed Nov 1, 2018
1 parent b9307d8 commit f416cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/ona.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
else
# fallback to --list of no module was given
options[:module] = 'get_module_list'
options[:params]['type'] ||= 'string'
options[:params]['format'] ||= 'text'
options[:params]['type'] ||= 'string'
end

ona = ONA.new(options[:url], options[:username], options[:password])
Expand Down

0 comments on commit f416cf8

Please sign in to comment.