Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
code-generic
code-webis-cmd
Commits
76730470
Commit
76730470
authored
Sep 28, 2020
by
Alban Bruder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix snapshot-restore cmd
parent
aed86dbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/ceph/fs.sh
tools/ceph/fs.sh
+1
-1
No files found.
tools/ceph/fs.sh
View file @
76730470
...
...
@@ -123,7 +123,7 @@ cmd_snapshot_restore() {
fi
IFS
=
$'
\n
'
snapshots
=(
$(
exec_sub_cmd list
-t
"
$ARG_TAG
"
"
$path
"
|
head
-n
$ARG_NUM
)
)
snapshots
=(
$(
exec_sub_cmd
snapshot-
list
-t
"
$ARG_TAG
"
"
$path
"
|
head
-n
$ARG_NUM
)
)
if
[[
"
${#
snapshots
[@]
}
"
-eq
0
]]
;
then
logWarning
"No snapshots found for:
$path
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment