commit | fb37789af4b075a1a3418a91530ef89684cc6d7a | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Tue Feb 03 10:24:39 2015 -0800 |
committer | Bogdan Caprita <caprita@google.com> | Tue Feb 03 10:25:11 2015 -0800 |
tree | af7eb9a2821826fb0c54d635d0e373fa34499071 | |
parent | f4bae7c056e31a71a74a95aab564155e6645c289 [diff] |
veyron/services/mgmt/application/impl: fix error logic bug The error returned by getACL was tested against ErrNotFound.ID without first testing that err is non-nil. This would cause NewDispatcher to return a nil dispatcher even when getACL returned no error (as happens when the server already has a pre-existing store of acls, e.g. upon restart). Change-Id: Ie91fa5298d727579410a7b1314c8affbf8bdfdd1