Skip to content

Commit

Permalink
[models] - Remove unnecessary inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olemis committed Feb 7, 2020
1 parent 22bfe4d commit c00c36b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/models/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,22 +153,6 @@ func (cs *ConfigSection) saveOptionValue(opt string, path []string, name string,
} else {
logging.SetLevel(level)
}
// } else if name == "output" {
// writer, err := logging.GetOutputWriter(value)
// if err != nil {
// log.WithError(err).Warn("%s is not a correct output entry or path", value)
// } else if writer != nil {
// logging.SetOutputTo(writer)
// skylog.SetOutputTo(writer)
// }
// } else if name == "outputFile" {
// writer, err := logging.GetFileToLog(value)
// if err != nil {
// log.WithError(err).Warn("%s is not a correct output entry or path", value)
// } else {
// logging.SetOutputTo(writer)
// skylog.SetOutputTo(writer)
// }
}
}
}
Expand Down

0 comments on commit c00c36b

Please sign in to comment.