Skip to content

Commit 55d4b45

Browse files
authored
Merge pull request #27 from bookmd/store-setup-result
feat: Store setup result on Provider object
2 parents bc0d058 + d142c1e commit 55d4b45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloudbees/provider.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def __init__(self, api_key="", rox_options=None, timeout=None):
1515

1616
if rox_options is None:
1717
rox_options = RoxOptions()
18-
Rox.setup(api_key, rox_options).result(timeout)
18+
19+
self.setup_result = Rox.setup(api_key, rox_options).result(timeout)
1920

2021
def get_metadata(self) -> Metadata:
2122
return Metadata("Cloudbees")

0 commit comments

Comments
 (0)