bumps (library-go)#153
Conversation
4dc73ae to
4a9228a
Compare
| // Convert docker client object to internal object, but only when this package is included | ||
| func Convert_dockerpre012_ImagePre_012_to_api_DockerImage(in *dockerpre012.ImagePre012, out *newer.DockerImage, s conversion.Scope) error { | ||
| if err := s.Convert(in.Config, &out.Config); err != nil { | ||
| if err := s.Convert(in.Config, &out.Config, conversion.DestFromSource); err != nil { |
There was a problem hiding this comment.
I think that conversion.DestFromSource was the default.
There was a problem hiding this comment.
| out.DockerImageReference = in.DockerImageReference | ||
| // TODO: Inefficient conversion - can we improve it? | ||
| if err := s.Convert(&in.DockerImageMetadata, &out.DockerImageMetadata); err != nil { | ||
| if err := s.Convert(&in.DockerImageMetadata, &out.DockerImageMetadata, 0); err != nil { |
There was a problem hiding this comment.
automation set it to conversion.DestFromSource as well.
163cd68 to
1474e8a
Compare
|
requires openshift/api#776 |
| } | ||
| out.Tags = make([]v1.TagReference, 0, 0) | ||
| return s.Convert(&in.Tags, &out.Tags) | ||
| return s.Convert(&in.Tags, &out.Tags, conversion.DestFromSource) |
There was a problem hiding this comment.
these were removed in https://github.com/openshift/openshift-apiserver/pull/150/files#diff-476a993839cca71a75d722226b54f2a2e7560296678290d40054fa9b009bfef3L14
my pr just reverts these changes as they were not meant to be merged.
There was a problem hiding this comment.
| API rule violation: list_type_missing,github.com/openshift/api/oauth/v1,OAuthClient,ScopeRestrictions | ||
| API rule violation: list_type_missing,github.com/openshift/api/oauth/v1,OAuthClientAuthorization,Scopes | ||
| API rule violation: list_type_missing,github.com/openshift/api/oauth/v1,ScopeRestriction,ExactValues | ||
| API rule violation: list_type_missing,github.com/openshift/api/oauth/v1,UserOAuthAccessToken,Scopes |
There was a problem hiding this comment.
@marun see here. This is a good start. We should not have these violations.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: p0lyn0mial, sttts The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@p0lyn0mial: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
picks up openshift/library-go#926 which sets
TCP_USER_TIMEOUTsocket option forKAS - OAS