|
@ -3034,8 +3034,9 @@ _get_container_relation() { |
|
|
} |
|
|
} |
|
|
done < <(_get_charm_metadata_uses "$metadata") |
|
|
done < <(_get_charm_metadata_uses "$metadata") |
|
|
if [ -z "$found" ]; then |
|
|
if [ -z "$found" ]; then |
|
|
die "Charm $DARKPINK$charm$NORMAL is a subordinate but does not have any required relation declaration with" \ |
|
|
|
|
|
|
|
|
err "Charm $DARKPINK$charm$NORMAL is a subordinate but does not have any required relation declaration with" \ |
|
|
"${WHITE}scope${NORMAL} set to 'container'." |
|
|
"${WHITE}scope${NORMAL} set to 'container'." |
|
|
|
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
printf "%s" "$found" |
|
|
printf "%s" "$found" |
|
|
} |
|
|
} |
|
|