mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
fix restore
This commit is contained in:
parent
2e0a408753
commit
03de0719dc
1 changed files with 1 additions and 1 deletions
2
utils.sh
2
utils.sh
|
@ -111,7 +111,7 @@ restore_snapshot()
|
|||
|
||||
while [[ ${retry_incus} -lt 10 ]]
|
||||
do
|
||||
incus restore "$incus_name" "$ynh_version-$snapshot" && break || retry_incus=$(($retry_incus+1))
|
||||
incus snapshot restore "$incus_name" "$ynh_version-$snapshot" && break || retry_incus=$(($retry_incus+1))
|
||||
info "Failed to restore snapshot? Retrying in 10 sec ..."
|
||||
if [[ ${retry_incus} -ge 3 ]]
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue