Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6138 from abutcher/logshifter-config-blank-lines
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed May 19, 2015
2 parents e564a6b + b58237d commit 927c347
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions logshifter/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ func ParseConfig(file string) (*Config, error) {
break
}

if line == "\n" {
continue
}

c := strings.SplitN(line, "=", 2)

if len(c) != 2 {
Expand Down

0 comments on commit 927c347

Please sign in to comment.