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

Refactors storage code for localConfigProvider. #4344

Merged

Conversation

mik-dass
Copy link
Contributor

@mik-dass mik-dass commented Jan 5, 2021

What type of PR is this?

/kind code-refactoring

What does does this PR do / why we need it:

It adds storage related functions to the localConfigProvider and also refactors the storage create and delete CLI code to use them.

Which issue(s) this PR fixes:

Fixes part of #4298

PR acceptance criteria:

How to test changes / Special notes to the reviewer:

  • Tests should pass.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. Required by Prow. label Jan 5, 2021
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mik-dass

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Jan 5, 2021
@mik-dass mik-dass changed the title [WIP] Refactors storage code for localConfigProvider. Refactors storage code for localConfigProvider. Jan 7, 2021
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. Required by Prow. label Jan 7, 2021
@mik-dass mik-dass force-pushed the local_storage_refactor branch 4 times, most recently from 7861cab to 8895d77 Compare January 7, 2021 13:01
Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

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

Review based on playing with odo storage create for s2i & devfile component types

pkg/config/storage.go Show resolved Hide resolved
pkg/config/storage.go Show resolved Hide resolved
pkg/odo/cli/storage/create.go Outdated Show resolved Hide resolved
pkg/odo/cli/storage/create.go Outdated Show resolved Hide resolved
Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

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

Only one question from trying to do odo storage delete.

pkg/odo/cli/storage/delete.go Show resolved Hide resolved
Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Jan 27, 2021
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 741f1dd into redhat-developer:master Jan 27, 2021
@mik-dass mik-dass deleted the local_storage_refactor branch January 27, 2021 14:57
@rm3l rm3l added the area/refactoring Issues or PRs related to code refactoring label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. area/refactoring Issues or PRs related to code refactoring lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants