Commit 76730470 authored by Alban Bruder's avatar Alban Bruder

Fix snapshot-restore cmd

parent aed86dbd
......@@ -123,7 +123,7 @@ cmd_snapshot_restore() {
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment