Skip to content

Commit

Permalink
DG-28970 | Refactor backup requests and add assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil Srivastava authored and Swapnil Srivastava committed Jul 19, 2024
1 parent 5c0e916 commit 2a68aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sfrest/backup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def backup_requests(rest_conn, site_nid, components)

def drush_backup_requests(command, ssh_client, site_nid, name, account_info, components)
drush_cmd = %(#{command} #{site_nid} "#{name}" --components="#{components}" --user=#{account_info['user']} --format=json 2> /dev/null)
backup_command = acsf.drush druh_cmd
backup_command = acsf.drush drush_cmd
ssh_client.exec!(backup_command).strip
end

Expand Down

0 comments on commit 2a68aec

Please sign in to comment.