Merge pull request #2740 from reasonerjt/query-clair-db

enable security on jobservice scan api
This commit is contained in:
Daniel Jiang 2017-07-12 13:24:16 +08:00 committed by GitHub
commit 9c8c79db43

View File

@ -33,8 +33,7 @@ type ImageScanJob struct {
// Prepare ...
func (isj *ImageScanJob) Prepare() {
//TODO Uncomment to enable security check.
// isj.authenticate()
isj.authenticate()
}
// Post creates a scanner job and hand it to statemachine.