mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
L #-: Minor linting corrections
(cherry picked from commit f88b64b52aa565dcfbf866be31a39cc12a01577a)
This commit is contained in:
parent
8f527101bd
commit
80ab06cdc1
@ -773,6 +773,12 @@ Style/FileRead:
|
||||
Style/FetchEnvVar:
|
||||
Enabled: false
|
||||
|
||||
Style/SlicingWithRange:
|
||||
Enabled: false
|
||||
|
||||
Style/RedundantCondition:
|
||||
Enabled: false
|
||||
|
||||
######
|
||||
# LINT
|
||||
######
|
||||
|
@ -443,7 +443,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
command :key, key_desc, :options => [KEY] do
|
||||
require 'opennebula/ssh_auth'
|
||||
|
||||
options[:key] ||= ENV['HOME'] + '/.ssh/id_rsa'
|
||||
options[:key] ||= Dir.home + '/.ssh/id_rsa'
|
||||
|
||||
begin
|
||||
sshauth = SshAuth.new(:private_key => options[:key])
|
||||
|
Loading…
x
Reference in New Issue
Block a user