mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-05-04 14:59:51 +02:00
build
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"python.defaultInterpreterPath": "../../venvs/portainer/bin/python"
|
||||||
|
}
|
||||||
@@ -1352,4 +1352,5 @@ class Portainer:
|
|||||||
path = f"/endpoints/{endpoint_id}/docker/secrets/create"
|
path = f"/endpoints/{endpoint_id}/docker/secrets/create"
|
||||||
encoded = base64.b64encode(value.encode()).decode()
|
encoded = base64.b64encode(value.encode()).decode()
|
||||||
data = {"Name": name, "Data": encoded}
|
data = {"Name": name, "Data": encoded}
|
||||||
|
|
||||||
return self._api_post(path, data, timeout=timeout)
|
return self._api_post(path, data, timeout=timeout)
|
||||||
|
|||||||
Reference in New Issue
Block a user