cocoonstack-sandbox 0.1.25__tar.gz → 0.1.27__tar.gz
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.
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/PKG-INFO +1 -1
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/template.py +3 -5
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/PKG-INFO +1 -1
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/pyproject.toml +1 -1
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/LICENSE +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/README.md +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/__init__.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/checkpoint.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/client.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/conn.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/endpoint.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/errors.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/frames.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/py.typed +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/sandbox.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonsandbox/volumes.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/SOURCES.txt +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/dependency_links.txt +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/top_level.txt +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/setup.cfg +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_checkpoint.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_client.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_endpoint.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_fault_matrix.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_fixtures.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_frames.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_hardening.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_keepalive.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_packaging.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_proc.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_proxy.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_stream.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_upgrade.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_volume_controller.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_volumes.py +0 -0
- {cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/tests/test_wire_binding.py +0 -0
|
@@ -33,11 +33,9 @@ class Template:
|
|
|
33
33
|
"""Claims the template, following placement when volumes require it."""
|
|
34
34
|
claim = _claim_body(self.name, self.net, self.size, ttl_seconds, volumes)
|
|
35
35
|
claim["require_promoted"] = True
|
|
36
|
-
if volumes:
|
|
37
|
-
|
|
38
|
-
claim
|
|
39
|
-
reply = self._client._request(self._addr, "POST", "/v1/claim", claim, "claim", deadline=deadline)
|
|
40
|
-
return self._client._handle_from(self._addr, reply)
|
|
36
|
+
if not volumes:
|
|
37
|
+
claim["no_redirect"] = True
|
|
38
|
+
return self._client._claim_from(self._addr, claim, deadline=deadline)
|
|
41
39
|
|
|
42
40
|
def delete(self) -> None:
|
|
43
41
|
query = _template_query(self.name, self.net, self.size)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{cocoonstack_sandbox-0.1.25 → cocoonstack_sandbox-0.1.27}/cocoonstack_sandbox.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|