For some reason, when I wrote this, I forgot about the `View` and `Update` helpers on boltdb. These are now used and makes the code much easier to follow. Signed-off-by: Stephen J Day <stephen.day@docker.com>
For some reason, when I wrote this, I forgot about the `View` and `Update` helpers on boltdb. These are now used and makes the code much easier to follow. Signed-off-by: Stephen J Day <stephen.day@docker.com>