diff options
author | erkin <e.altunbas@vyos.io> | 2021-12-02 17:25:01 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-12-02 17:25:01 +0300 |
commit | 7bffa903dd91053ba242fc24ef9393e670ef2fda (patch) | |
tree | 5320b91dcc5fa8c9dca975a209ae615fab5d9d63 | |
parent | b12811b7708ea5250590494001cda377fa6a3fbf (diff) | |
download | vyatta-config-mgmt-7bffa903dd91053ba242fc24ef9393e670ef2fda.tar.gz vyatta-config-mgmt-7bffa903dd91053ba242fc24ef9393e670ef2fda.zip |
remote: T4029: Fix source address argument for uploads
-rwxr-xr-x | scripts/vyatta-commit-push.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl index bd8efc0..075fefa 100755 --- a/scripts/vyatta-commit-push.pl +++ b/scripts/vyatta-commit-push.pl @@ -97,7 +97,7 @@ foreach my $uri (@uris) { $remote .= "$path" if defined $path; print " $remote "; - system("python3 -c 'from vyos.remote import upload; upload(\"$tmp_push_file\", \"$uri/$save_file\", source=$source_address)'"); + system("python3 -c 'from vyos.remote import upload; upload(\"$tmp_push_file\", \"$uri/$save_file\", source_host=$source_address)'"); } move($tmp_push_file, $last_push_file); |