Skip to content

Commit

Permalink
try reducing scan priority after failure (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfenwick authored and jayunit100 committed Aug 24, 2018
1 parent 297d5d8 commit fb7e816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/core/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ func (model *Model) FinishRunningScanClient(image *Image, scanClientError error)

scanStatus := ScanStatusRunningHubScan
if scanClientError != nil {
model.ImagePriority[image.Sha] = -1
scanStatus = ScanStatusInQueue
log.Errorf("error running scan client -- %s", scanClientError.Error())
}
Expand Down

0 comments on commit fb7e816

Please sign in to comment.