Skip to content

Commit

Permalink
Merge branch 'master' into NAS-132920
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKarpov98 committed Dec 10, 2024
2 parents 86caa83 + a155cc0 commit 0c5945b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ describe('RsyncTaskFormComponent', () => {
recursive: false,
remotehost: 'pentagon.gov',
remotemodule: 'module',
ssh_credentials: null,
schedule: {
dom: '*', dow: '*', hour: '2', minute: '0', month: '*',
},
Expand Down Expand Up @@ -228,6 +229,7 @@ describe('RsyncTaskFormComponent', () => {
...existingTask,
path: '/mnt/new',
direction: Direction.Push,
ssh_credentials: null,
times: false,
compress: false,
delayupdates: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ export class RsyncTaskFormComponent implements OnInit {
delete values.remoteport;
delete values.remotepath;
delete values.validate_rpath;
delete values.ssh_credentials;
delete values.ssh_keyscan;
values.ssh_credentials = null;
} else {
delete values.remotemodule;
if (values.sshconnectmode === RsyncSshConnectMode.PrivateKey) {
Expand Down

0 comments on commit 0c5945b

Please sign in to comment.