Skip to content

filter out init containers in GetContainers()#108

Merged
yangcao77 merged 4 commits intodevfile:mainfrom
yangcao77:532-filterout-initcontainer
Jul 16, 2021
Merged

filter out init containers in GetContainers()#108
yangcao77 merged 4 commits intodevfile:mainfrom
yangcao77:532-filterout-initcontainer

Conversation

@yangcao77
Copy link
Collaborator

Signed-off-by: Stephanie [email protected]

What does this PR do?:

This PR filters out initContainers in GetContainers()

Which issue(s) this PR fixes:

Fixes devfile/api#532

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

  • Open new test/doc issues under the devfile/api repo
  • Check each criteria if:
  • There is a separate tracking issue. Add the issue link under the criteria
    or
  • test/doc updates are made as part of this PR
  • If unchecked, explain why it's not needed

How to test changes / Special notes to the reviewer:

call GetContainers against a devfile with init container, the output is expected to return all containers other than init containers

@yangcao77 yangcao77 requested a review from maysunfaisal July 13, 2021 17:44
@openshift-ci openshift-ci bot requested a review from elsony July 13, 2021 17:44
Signed-off-by: Stephanie <[email protected]>
@openshift-ci
Copy link

openshift-ci bot commented Jul 16, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maysunfaisal, yangcao77

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [maysunfaisal,yangcao77]

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

@yangcao77 yangcao77 merged commit 9de9d4c into devfile:main Jul 16, 2021
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.

generator.GetContainers output should not include initContainers

2 participants