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

fix(create-policy): create and skip if exists #698

Merged
merged 1 commit into from
Sep 18, 2019
Merged

Conversation

vpsx
Copy link
Contributor

@vpsx vpsx commented Sep 17, 2019

uc-cdis/arborist#107 Arborist's PUT policy endpoint is no longer just a delete-create, so Fence usersync can no longer use it as create-but-skip-if-exist

Bug Fixes

in usersync, instead of put_policy, use create_policy with skip_if_exists arg set to True

@github-actions
Copy link

github-actions bot commented Sep 17, 2019

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@coveralls
Copy link

coveralls commented Sep 17, 2019

Pull Request Test Coverage Report for Build 7671

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 69.88%

Totals Coverage Status
Change from base Build 7654: 0.0%
Covered Lines: 4951
Relevant Lines: 7085

💛 - Coveralls

@vpsx vpsx merged commit 79ca3cf into master Sep 18, 2019
@vpsx vpsx deleted the fix/create-policy branch September 18, 2019 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants