diff --git a/docs/cli-reference/ark_backup_download.md b/docs/cli-reference/ark_backup_download.md index 89621488a..75580c761 100644 --- a/docs/cli-reference/ark_backup_download.md +++ b/docs/cli-reference/ark_backup_download.md @@ -14,10 +14,10 @@ ark backup download NAME [flags] ### Options ``` - --force forces the download and will overwrite file if it exists already - -h, --help help for download - --output-dir string directory to download backup to. (Default cwd) - --timeout duration maximum time to wait to process download request (default 1m0s) + --force forces the download and will overwrite file if it exists already + -h, --help help for download + -o, --output string path to output file. Defaults to -data.tar.gz in the current directory + --timeout duration maximum time to wait to process download request (default 1m0s) ``` ### Options inherited from parent commands diff --git a/docs/cli-reference/ark_restore.md b/docs/cli-reference/ark_restore.md index 530e7c86e..5d68f202a 100644 --- a/docs/cli-reference/ark_restore.md +++ b/docs/cli-reference/ark_restore.md @@ -31,4 +31,5 @@ Work with restores * [ark restore create](ark_restore_create.md) - Create a restore * [ark restore delete](ark_restore_delete.md) - Delete a restore * [ark restore get](ark_restore_get.md) - get restores +* [ark restore logs](ark_restore_logs.md) - Get restore logs diff --git a/docs/cli-reference/ark_restore_logs.md b/docs/cli-reference/ark_restore_logs.md new file mode 100644 index 000000000..677b45f0d --- /dev/null +++ b/docs/cli-reference/ark_restore_logs.md @@ -0,0 +1,36 @@ +## ark restore logs + +Get restore logs + +### Synopsis + + +Get restore logs + +``` +ark restore logs RESTORE [flags] +``` + +### Options + +``` + -h, --help help for logs + --timeout duration how long to wait to receive logs (default 1m0s) +``` + +### Options inherited from parent commands + +``` + --alsologtostderr log to standard error as well as files + --kubeconfig string Path to the kubeconfig file to use to talk to the Kubernetes apiserver. If unset, try the environment variable KUBECONFIG, as well as in-cluster configuration + --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log_dir string If non-empty, write log files in this directory + --logtostderr log to standard error instead of files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level log level for V logs + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO +* [ark restore](ark_restore.md) - Work with restores + diff --git a/pkg/cloudprovider/aws/block_storage_adapter.go b/pkg/cloudprovider/aws/block_storage_adapter.go index 328ef91eb..052422147 100644 --- a/pkg/cloudprovider/aws/block_storage_adapter.go +++ b/pkg/cloudprovider/aws/block_storage_adapter.go @@ -167,7 +167,7 @@ func (op *blockStorageAdapter) ListSnapshots(tagFilters map[string]string) ([]st } var ret []string - err := op.ec2.DescribeSnapshotsPages(req, func (res *ec2.DescribeSnapshotsOutput, lastPage bool) bool { + err := op.ec2.DescribeSnapshotsPages(req, func(res *ec2.DescribeSnapshotsOutput, lastPage bool) bool { for _, snapshot := range res.Snapshots { ret = append(ret, *snapshot.SnapshotId) }