Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding the ability to include a password when restoring a backup #298

Merged
merged 3 commits into from
Sep 26, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
altering double to single quotes
  • Loading branch information
sgreen-r7 committed Sep 26, 2017
commit c6650a45a96b83a9abbb3c3b4855050aca187431
2 changes: 1 addition & 1 deletion lib/nexpose/maint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def initialize(name, date, description, version, independent, size)
# @return [Boolean] Whether the request was received.
#
def restore(nsc, password = nil)
raise "Supplied Password is incorrect for restoring this Backup." if invalid_backup_password?(nsc, password)
raise 'Supplied Password is incorrect for restoring this Backup.' if invalid_backup_password?(nsc, password)
parameters = { 'backupid' => @name,
'cmd' => 'restore',
'targetTask' => 'backupRestore',
Expand Down