mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Fix rm (remove) action with Portainer CE 2.6
The endpoint ID seems now to be required ¯\_(ツ)_/¯
This commit is contained in:
parent
4205e7b351
commit
cfbe17a43c
@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Upgrade Operating System of Docker based images, with [Alpine 3.14](https://hub.docker.com/_/alpine) and [Debian 11](https://hub.docker.com/_/debian)
|
||||
- Reduce Docker images size
|
||||
|
||||
### Fixed
|
||||
- Fix [`rm`](docs/README.md#rm) <small>(remove)</small> action with Portainer <abbr title="Community Edition">CE</abbr> 2.6
|
||||
|
||||
## [1.2.0-alpha] - 2021-02-19
|
||||
### Added
|
||||
- Test <abbr title="Portainer Stack Utils">PSU</abbr> with Portainer <abbr title="Community Edition">CE</abbr> [2.0.1](https://app.swaggerhub.com/apis/deviantony/Portainer/2.0.1) API
|
||||
|
3
psu
3
psu
@ -1096,7 +1096,8 @@ undeploy() {
|
||||
--ignore-stdin \
|
||||
--verify=$HTTPIE_VERIFY_SSL \
|
||||
DELETE "$PORTAINER_URL/api/stacks/$stack_id" \
|
||||
"Authorization: Bearer $PORTAINER_AUTH_TOKEN")
|
||||
"Authorization: Bearer $PORTAINER_AUTH_TOKEN" \
|
||||
endpointId==$PORTAINER_ENDPOINT)
|
||||
check_for_errors $? "$delete"
|
||||
echo_debug "Delete action response -> $(echo $delete | jq -C .)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user