Skip to content

Commit

Permalink
Merge pull request #1519 from mjudeikis/revert.logging
Browse files Browse the repository at this point in the history
revert logging validation
  • Loading branch information
jim-minter committed Apr 16, 2019
2 parents 3101a40 + f98738c commit 8e5f4e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/api/validate/plugin.go
Expand Up @@ -91,9 +91,7 @@ func (v *PluginAPIValidator) Validate(c *pluginapi.Config) (errs []error) {
}

func validateComponentLogLevel(c *pluginapi.ComponentLogLevel) (errs []error) {
// can't set logging level > 7 due to:
// https://bugzilla.redhat.com/show_bug.cgi?id=1689366
if c.APIServer < 0 || c.APIServer > 7 {
if c.APIServer < 0 || c.APIServer > 20 {
errs = append(errs, fmt.Errorf("invalid componentLogLevel.apiServer %d", c.APIServer))
}

Expand Down

0 comments on commit 8e5f4e3

Please sign in to comment.