Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: add top-level YAML namespace 'clair' #96

Merged
merged 1 commit into from
Mar 9, 2016
Merged

config: add top-level YAML namespace 'clair' #96

merged 1 commit into from
Mar 9, 2016

Conversation

jzelinskie
Copy link
Contributor

This enables Clair to use YAML configuration files that contain more
than just a Clair configuration.

Fixes #95.

@@ -78,6 +78,12 @@ var DefaultConfig = Config{
},
}

// File represents a YAML configuration file that namespaces all Clair
// configuration under the top-level "clair" key.
type File struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be the first struct declared, above Config.

This enables Clair to use YAML configuration files that contain more
than just a Clair configuration.

Fixes #95.
@Quentin-M
Copy link
Contributor

LGTM

Quentin-M added a commit that referenced this pull request Mar 9, 2016
config: add top-level YAML namespace 'clair'
@Quentin-M Quentin-M merged commit 4b6c589 into quay:master Mar 9, 2016
@jzelinskie jzelinskie added area/usability related to improving user experience kind/feature request wishes for new functionality/docs reviewed/lgtm labels Mar 12, 2016
@jzelinskie jzelinskie deleted the rootyamlkey branch March 19, 2016 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/usability related to improving user experience kind/feature request wishes for new functionality/docs
Development

Successfully merging this pull request may close these issues.

None yet

2 participants