Skip to content

Commit

Permalink
Merge pull request #390 from KeyboardNerd/fernet
Browse files Browse the repository at this point in the history
cmd: make pagination key error clearer
  • Loading branch information
jzelinskie authored May 9, 2017
2 parents d07183e + 0342a2a commit 1119fdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/clair/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func LoadConfig(path string) (config *Config, err error) {
} else {
_, err = fernet.DecodeKey(config.API.PaginationKey)
if err != nil {
err = errors.New("Invalid Pagination key; must be 32-bit URL-safe base64")
return
}
}
Expand Down

0 comments on commit 1119fdf

Please sign in to comment.