Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
- new linter release, new problems

Signed-off-by: Matthew Kocher <[email protected]>
  • Loading branch information
iprotsiuk authored and mkocher committed Aug 15, 2024
1 parent 48e5be9 commit 4ca9716
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/syslog-agent/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ func convertCipherStringToInt(cipherStrs []string, cipherMap map[string]uint16)
for key := range cipherMap {
supportedCipherSuites = append(supportedCipherSuites, key)
}
errMsg := fmt.Sprintf("Invalid cipher string configuration: %s, please choose from %v", cipher, supportedCipherSuites)
return nil, fmt.Errorf(errMsg)
return nil, fmt.Errorf("Invalid cipher string configuration: %s, please choose from %v", cipher, supportedCipherSuites)
}
}

Expand Down

0 comments on commit 4ca9716

Please sign in to comment.