paz-sh / paz-service-directory

A catalog of services with versioned config for running as Docker containers with Fleet.
Other
1 stars 1 forks source link

LevelDB doesn't error when deleting non-existent key; model code wrong #11

Open lukebond opened 8 years ago

lukebond commented 8 years ago

Model code here: https://github.com/paz-sh/paz-service-directory/blob/master/resources/service/model.js#L232

...is checking for notFound error, which will never happen. LevelDB doesn't error for this case.