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

Add native types for server LogDriver and LogLevel #777

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind api-change

What this PR does / why we need it:

This allows a better API usage by having native types around possible values. We also now rename the LogDriver for the container creation to ContainerLogDriver to be more distinct compared to the server log driver.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

Renamed the `LogDriver` for the container creation to `ContainerLogDriver` to be more distinct compared to the server log driver.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Oct 7, 2022
This allows a better API usage by having native types around possible
values. We also now rename the LogDriver for the container creation to
`ContainerLogDriver` to be more distinct compared to the server log
driver.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
@saschagrunert saschagrunert changed the title Add native types for server LogDriver and LogLevel Add native types for server LogDriver and LogLevel Oct 7, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2022

Codecov Report

Merging #777 (ea196d8) into main (75562ef) will not change coverage.
The diff coverage is n/a.

❗ Current head ea196d8 differs from pull request most recent head 9c61646. Consider uploading reports for the commit 9c61646 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #777   +/-   ##
=======================================
  Coverage   31.35%   31.35%           
=======================================
  Files          13       13           
  Lines        1129     1129           
  Branches      429      428    -1     
=======================================
  Hits          354      354           
  Misses        492      492           
  Partials      283      283           

@rphillips
Copy link
Collaborator

nice cleanup

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 7, 2022
@openshift-merge-robot openshift-merge-robot merged commit eb16076 into containers:main Oct 7, 2022
@saschagrunert saschagrunert deleted the types branch October 7, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants