Skip to content

Commit

Permalink
ignore gosec issue
Browse files Browse the repository at this point in the history
not a problem inside a distroless container

Signed-off-by: Markus Blaschke <[email protected]>
  • Loading branch information
mblaschke committed Feb 11, 2022
1 parent 287cab7 commit e868ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kusto/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func NewConfig(path string) (config Config) {
config = Config{}

log.Infof("reading configuration from file %v", path)
/* #nosec G304 */
if data, err := ioutil.ReadFile(path); err == nil {
filecontent = data
} else {
Expand Down

0 comments on commit e868ce4

Please sign in to comment.