ksperis/autosnap-rbd-shadow-copy — pull request #2 by ultramathman (2014-12-08 14:35:20+00:00)
Title: Reset shadowcopylist at start of mountshadowcopy

I added a second rbd and noticed my previous changes introduced a bug. The shadowcopylist variable was never reset, so the script attempted to mount all the snapshots timestamps found on previous images on the subsequent images, producing errors when run manually. Setting it to "" at the start of the function resolves the bug.