Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Refactor kv::print_error to kv::format_error and hoist error printing out of private kv functions #613

Merged
merged 3 commits into from
Sep 17, 2019

Conversation

gabbifish
Copy link
Contributor

This PR closes #608. It will ensure that building bucket functionality on top of API calling functions is cleaner; that is, API calling functions that are private functions should not print the result of an API call, but its caller should.

@gabbifish gabbifish added status - needs review regression Something is broken, but works in previous releases labels Sep 17, 2019
@gabbifish gabbifish added this to the 1.4.0 milestone Sep 17, 2019
@gabbifish gabbifish changed the base branch from master to feat-kv-additions September 17, 2019 21:59
@gabbifish gabbifish changed the base branch from feat-kv-additions to master September 17, 2019 21:59
Copy link
Contributor

@ashleymichal ashleymichal left a comment

Choose a reason for hiding this comment

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

pull comment then lgtm.

src/commands/kv/mod.rs Outdated Show resolved Hide resolved
@gabbifish gabbifish merged commit 82b6727 into master Sep 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the gabbi/fix-608 branch September 17, 2019 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
regression Something is broken, but works in previous releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove success and error printouts from bucket KV API callers + refactor kv::print_error
3 participants