cli/prune: fix a possible infinite recursion
With recursive instances, it was possible that the slapos.cfg introduce a kind of loop and this was checking again and again the same folders. Fix this by keeping track of the visited instance root and not visit the same instance root twice.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#254200
external
|
SlapOS-Master.UnitTest-Master |
|
||||||
passed |
#254845
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#254202
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
|
||||||
failed |
#254164
external
retried
|
SlapOS-Master.UnitTest-Master |
01:15:47
|
||||||
failed |
#254199
external
retried
|
SlapOS-Master.UnitTest-Master |
|
||||||
passed |
#254194
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#254197
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#254193
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#254166
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:44:49
|
||||||
passed |
#254162
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
01:17:40
|
||||||