Change func param signature to avoid unneccessary Ctx by maysunfaisal · Pull Request #154 · devfile/library

Signed-off-by: Maysun J Faisal maysunaneek@gmail.com

What does this PR do?:

Changes the util func param signature to take in Devfile data rather than Devfile object. Because we dont need DevfileObj.Ctx and is unnecessary export available in the function

Which issue(s) this PR fixes:

N/A

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:

Tests should pass