Browse Source

new: [compose-core] make detection of cached image work with correct syntax

master
Valentin Lab 3 weeks ago
parent
commit
e7dc5c1e1c
  1. 2
      bin/compose-core

2
bin/compose-core

@ -1812,7 +1812,7 @@ service_ensure_image_ready() {
local service_quoted=${service//./\\.}
if specified_image=$(echo "$service_def" | shyaml get-value image 2>/dev/null); then
if [ "$specified_image" == "$charm_image_name"* ]; then
if [[ "$specified_image" == "$charm_image_name"* ]]; then
## Assume we already did the change
printf "%s" "$specified_image" | tee "$cache_file"
return 0

Loading…
Cancel
Save