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

Fixing Typing Error in SSH Command Plugin Examples #119

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Delete.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"uri: \"/upload/dir1/file.txt\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Download.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from: \"/in/file.txt\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
title = "Download a list of files and move it to an archive folders",
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from: \"/in/\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/List.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from: \"/upload/dir1/\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Move.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from: \"/upload/dir1/file.txt\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Upload.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from: \"{{ outputs.taskid.uri }}\"",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Uploads.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Example(
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"username: foo",
"password: pass",
"from:",
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/fs/ssh/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
title = "Run SSH command using password authentication",
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"authMethod: PASSWORD",
"username: foo",
"password: pass",
Expand All @@ -60,7 +60,7 @@
title = "Run SSH command using public key authentication",
code = {
"host: localhost",
"port: 22",
"port: \"22\"",
"authMethod: PUBLIC_KEY",
"username: root",
"privateKey: secret('SSH_RSA_PRIVATE_KEY')",
Expand Down