Skip to content

Commit

Permalink
Update docker.go
Browse files Browse the repository at this point in the history
Co-authored-by: William Trépanier <[email protected]>
  • Loading branch information
jonapich and wtrep authored Oct 17, 2022
1 parent 9139833 commit 297cf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func validateDockerVersion(version string) (bool, error) {
expectedRange, err := semver.ParseRange(allowedDockerVersions)
if err != nil {
// this is a developer error, allowedDockerVersions is a const
log.Fatalf("Unable to parse range: %s: %v", allowedDockerVersions, err)
log.Panicf("Unable to parse range: %s: %v", allowedDockerVersions, err)
}

return expectedRange(v), nil
Expand Down

0 comments on commit 297cf01

Please sign in to comment.