Browse Source

fix: [compose-core] repair ``--get-available-actions``

master
Valentin Lab 1 week ago
parent
commit
996703e5db
  1. 7
      bin/compose-core

7
bin/compose-core

@ -5304,6 +5304,13 @@ while read-0 arg; do
exit 0
;;
--get-available-actions)
COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1
COMPOSE_YML_CONTENT=$(get_compose_yml_content) || exit 1
COMPOSE_YML_CONTENT_HASH=$(compose:yml:hash) || exit 1
CHARM_STORE_HASH=$(charm.store_metadata_hash) || exit 1
COMBINED_HASH=$(H "$COMPOSE_YML_CONTENT_HASH" "$CHARM_STORE_HASH") || exit 1
export COMPOSE_YML_FILE COMPOSE_YML_CONTENT COMPOSE_YML_CONTENT_HASH CHARM_STORE_HASH COMBINED_HASH
get_docker_charm_action
exit $?
;;

Loading…
Cancel
Save