Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a738a832a | ||
|
|
7a3c4f7345 |
@@ -235,13 +235,15 @@ service_alternative_alias() {
|
|||||||
service_app_links() {
|
service_app_links() {
|
||||||
declare desc="output all service links for a given app"
|
declare desc="output all service links for a given app"
|
||||||
declare APP="$1"
|
declare APP="$1"
|
||||||
local SERVICE LINKED_APP
|
local LINKED_APP SERVICE SERVICE_ROOT
|
||||||
|
|
||||||
pushd "$PLUGIN_DATA_ROOT" >/dev/null
|
pushd "$PLUGIN_DATA_ROOT" >/dev/null
|
||||||
for SERVICE in $(fn-services-list); do
|
for SERVICE in $(fn-services-list); do
|
||||||
[[ -n "$SERVICE" ]] || continue
|
[[ -n "$SERVICE" ]] || continue
|
||||||
[[ -f "$SERVICE/LINKS" ]] || continue
|
|
||||||
for LINKED_APP in $(<"$SERVICE/LINKS"); do
|
SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
|
||||||
|
[[ -f "$SERVICE_ROOT/LINKS" ]] || continue
|
||||||
|
for LINKED_APP in $(<"$SERVICE_ROOT/LINKS"); do
|
||||||
if [[ "$LINKED_APP" == "$APP" ]]; then
|
if [[ "$LINKED_APP" == "$APP" ]]; then
|
||||||
echo "$SERVICE"
|
echo "$SERVICE"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku postgres service plugin"
|
description = "dokku postgres service plugin"
|
||||||
version = "1.21.0"
|
version = "1.21.1"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
Reference in New Issue
Block a user