Skip to content

Commit

Permalink
Update pkg/sidecar/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Faisal Memon <[email protected]>
Signed-off-by: Keegan Witt <[email protected]>
  • Loading branch information
keeganwitt and faisal-memon authored Dec 20, 2023
1 parent 6a5399c commit a0af7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sidecar/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func ValidateConfig(c *Config) error {
if jwtConfig.JWTSvidFilename == "" {
return errors.New("'jwt_file_name' is required in 'jwt_svids'")
}
if countEmpty(jwtConfig.JWTAudience) > 0 {
if jwtConfig.JWTAudience == "" {
return errors.New("'jwt_audience' is required in 'jwt_svids'")
}
}
Expand Down

0 comments on commit a0af7b3

Please sign in to comment.