Skip to content

Commit

Permalink
grammar adjustment for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreen-r7 committed Sep 26, 2017
1 parent d20e1d5 commit d829157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/maint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def backup_need_password?(nsc)
end

def correct_backup_password?(nsc, password)
raise 'This Backup files requires a Password. Please include a password during the restore command.' if password.nil?
raise 'This Backup file requires a Password. Please include a password during the restore command.' if password.nil?
resp = Nexpose::AJAX.post(nsc, "/data/admin/backups/password?backupID=#{name}&password=#{password}", nil, Nexpose::AJAX::CONTENT_TYPE::JSON)
resp == 'true'
end
Expand Down

0 comments on commit d829157

Please sign in to comment.