qontract-reconcile 0.10.2.dev100__py3-none-any.whl → 0.10.2.dev101__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/RECORD +5 -5
- reconcile/utils/quay_api.py +2 -5
- {qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev101
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
|
6
6
|
Project-URL: repository, https://github.com/app-sre/qontract-reconcile
|
{qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/RECORD
RENAMED
@@ -631,7 +631,7 @@ reconcile/utils/password_validator.py,sha256=XwuWg-8CPlcuG7dl_oQ1G1h2gSVSnfMym_V
|
|
631
631
|
reconcile/utils/prometheus.py,sha256=Ad0rwLbxRuuYjHwkwJloHEdK0bvy42h-p-HIT1DhDhs,3832
|
632
632
|
reconcile/utils/promotion_state.py,sha256=McSgGj3oog83ThJCrMR2v8q6Xb_Pxij-HEe_RbDu8cg,3946
|
633
633
|
reconcile/utils/promtool.py,sha256=qOWgRY9-HgfTAcQz8NnLfnZn2WtCAvRAr85YQRXvMSA,2831
|
634
|
-
reconcile/utils/quay_api.py,sha256=
|
634
|
+
reconcile/utils/quay_api.py,sha256=uE_jxcdy3ViHtYFAfwDQuFDaO7Pr6AAPoVnmORbyHio,7822
|
635
635
|
reconcile/utils/raw_github_api.py,sha256=2WKtE8ABYYB9UGOAh9N_kLkksBWL3320Z2_scteZddI,2805
|
636
636
|
reconcile/utils/repo_owners.py,sha256=BHrAXxKyvn4qWJwFPWYGTtfgnLmYnWtYFEJGFeD__FE,6573
|
637
637
|
reconcile/utils/rest_api_base.py,sha256=Ep3wmabbzpWzcvZsfJHN3R1XgNtQXHmiYKOMAgtLspk,4277
|
@@ -786,7 +786,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
786
786
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
787
787
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
788
788
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
789
|
-
qontract_reconcile-0.10.2.
|
790
|
-
qontract_reconcile-0.10.2.
|
791
|
-
qontract_reconcile-0.10.2.
|
792
|
-
qontract_reconcile-0.10.2.
|
789
|
+
qontract_reconcile-0.10.2.dev101.dist-info/METADATA,sha256=LKKc1ckXIPdqj9wyVhdMrpGRkeIe_a2YlRPXqrWizQg,24566
|
790
|
+
qontract_reconcile-0.10.2.dev101.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
791
|
+
qontract_reconcile-0.10.2.dev101.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
792
|
+
qontract_reconcile-0.10.2.dev101.dist-info/RECORD,,
|
reconcile/utils/quay_api.py
CHANGED
@@ -68,12 +68,9 @@ class QuayApi:
|
|
68
68
|
if not r.ok:
|
69
69
|
message = r.json().get("message", "")
|
70
70
|
|
71
|
-
|
72
|
-
f"User {user} does not belong to team {team}",
|
73
|
-
"User cannot remove themselves from their only admin team.",
|
74
|
-
]
|
71
|
+
expected_message = f"User {user} does not belong to team {team}"
|
75
72
|
|
76
|
-
if message
|
73
|
+
if message != expected_message:
|
77
74
|
r.raise_for_status()
|
78
75
|
|
79
76
|
url_org = f"{self.api_url}/organization/{self.organization}/members/{user}"
|
{qontract_reconcile-0.10.2.dev100.dist-info → qontract_reconcile-0.10.2.dev101.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|