add ability to use blank password in devops-client conf
This commit is contained in:
parent
df38e86117
commit
1c9fca2017
@ -33,7 +33,7 @@ module DevopsClient
|
||||
if config[:host].nil?
|
||||
abort(I18n.t("config.invalid.host"), :file => @@config_file)
|
||||
end
|
||||
[:api, :username, :password].each do |key|
|
||||
[:api, :username].each do |key|
|
||||
if config[key].nil? or config[key].empty?
|
||||
abort(I18n.t("config.invalid.empty", :file => @@config_file, :key => key))
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user