concourse / pool-resource

atomically manages the state of the world (e.g. external environments)
Apache License 2.0
54 stars 36 forks source link

`get` on a pool resource should fail if named lock is unclaimed #32

Open staylor14 opened 6 years ago

staylor14 commented 6 years ago

The documentation says that get on a pool resource will get a "claimed" lock, but that is not the case. It will successfully fetch lock metadata even if the lock is in the unclaimed state.