Import storage review fixes #7646

Merged
merged 2 commits into from Jul 18, 2017

Conversation

Projects
None yet
3 participants
Member

axw commented Jul 18, 2017

Description of change

Address review comments on #7644.

  • Rename State.ImportFilesystem to State.AddExistingFilesystem. Separate validation into another function.
  • Rename api/storage's Client.ImportStorage to Client.Import, and add unit tests.

QA steps

Non-functional change. Check it builds and tests pass.

Documentation changes

None.

Bug reference

None.

axw added some commits Jul 18, 2017

state: s/ImportFilesystem/AddExistingFilesystem/
Also, move validation logic into a separate function.
api/storage: add test; s/ImportStorage/Import/
Rename ImportStorage to Import, to be less
stuttery; introduce an adapter in the CLI
code. Add a test for the new API client
method.

Thanks!

Member

axw commented Jul 18, 2017

$$merge$$

Contributor

jujubot commented Jul 18, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 697a10e into juju:develop Jul 18, 2017

1 check failed

github-check-merge-juju Ran tests against PR. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details

jujubot added a commit that referenced this pull request Jul 18, 2017

Merge pull request #7651 from juju/revert-7646-import-storage-review-…
…fixes

Revert "Import storage review fixes"

Reverts juju/juju#7646. This PR has a broken unit test, preventing landing.

github.com/juju/juju/apiserver/facades/client/storage fails very often, though it didn't fail on landing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment