Closed teawater closed 6 years ago
After taking a look at the code, I think the snap xxx is useless. So I remove snapxxx and add lock to the code that will write p.containers and p.volumes with p.statusLock.Lock().
LGTM
looks reasonable. why didn't we do this before trying resource lock on info and the snap?
After taking a look at the code, I think the snap xxx is useless. So I remove snapxxx and add lock to the code that will write p.containers and p.volumes with p.statusLock.Lock().