Skip to content

Commit

Permalink
style: add debug logs for volume plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Oct 25, 2024
1 parent 2bc4876 commit 9234d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/collectors/rest/plugins/volume/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (v *Volume) Init() error {
if err != nil {
return fmt.Errorf("unable to get version %w", err)
}
enableVolumeLogging = os.Getenv("ENABLE_VOLUME_LOGGING") == "true"
enableVolumeLogging = os.Getenv("ENABLE_VOLUME_LOGGING") != ""
return nil
}

Expand Down

0 comments on commit 9234d7c

Please sign in to comment.