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

PXD-2731: Create Arborist client on client-create #619

Merged
merged 4 commits into from
May 6, 2019

Conversation

fantix
Copy link
Contributor

@fantix fantix commented May 6, 2019

This is the same PR as #610, requires uc-cdis/arborist#53.

@PlanXCyborg
Copy link
Contributor

This PR contains code that is not formatted correctly according to black. Run black on your code before merging.

Expand the full diff to see formatting changes
--- fence/rbac/client.py
+++ blackened
@@ -390,11 +390,11 @@
                 "could not fetch client `{}` in arborist: {}".format(
                     client_id, data["error"]
                 )
             )
             raise ArboristError(data["error"])
-        current_policies = set(data['policies'])
+        current_policies = set(data["policies"])
         policies = set(policies)
 
         # find newly granted policies, revoke all if needed
         url = "/".join((self._client_url, client_id, "policy"))
         if current_policies.difference(policies):

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

@fantix fantix merged commit 6edb42b into feat/arborist May 6, 2019
@fantix fantix deleted the feat/arborist-client-create-br branch May 6, 2019 15:35
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.

2 participants