Skip to content

Commit

Permalink
Update cmd/spiffe-helper/config/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 Sep 17, 2024
1 parent 8535e1b commit 98db7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/spiffe-helper/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ func (c *Config) ValidateConfig(log logrus.FieldLogger) error {
if c.KeyFileMode < 0 {
return errors.New("key file mode must be positive")
}
if c.JwtSVIDFileMode < 0 {
if c.JWTSVIDFileMode < 0 {

Check failure on line 181 in cmd/spiffe-helper/config/config.go

View workflow job for this annotation

GitHub Actions / lint (linux)

c.JWTSVIDFileMode undefined (type *Config has no field or method JWTSVIDFileMode) (typecheck)
return errors.New("jwt bundle file mode must be positive")
}
if c.JwtSVIDFileMode < 0 {
if c.JWTSVIDFileMode < 0 {

Check failure on line 184 in cmd/spiffe-helper/config/config.go

View workflow job for this annotation

GitHub Actions / lint (linux)

c.JWTSVIDFileMode undefined (type *Config has no field or method JWTSVIDFileMode) (typecheck)
return errors.New("jwt svid file mode must be positive")
}

Expand Down

0 comments on commit 98db7fe

Please sign in to comment.