Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Sep 19, 2024
1 parent 92f4315 commit d98f682
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/logs/logfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ func (l *LogConfig) GetActiveLogFilePaths() []string {
}

for cust := range customLog {
if name := customLog[cust].File.Name(); name != "" {
logFiles = append(logFiles, name)
if customLog[cust] != nil && customLog[cust].File != nil {
if name := customLog[cust].File.Name(); name != "" {
logFiles = append(logFiles, name)
}
}
}

Expand Down

0 comments on commit d98f682

Please sign in to comment.