[7] in common_util:mount_volume, you are reading persisted data from the nfs relation. Instead of doing this, I wonder if you should instead use the relation-get concept of probing the relation to get that data.
It's something like:
ids=$(relation-ids --type nfs) relation-get --id <id>
I'll leave it to you to decide if this is a direction you want to go.
-- David Britton <email address hidden>
« Back to merge proposal
[7] in common_ util:mount_ volume, you are reading persisted data from the
nfs relation. Instead of doing this, I wonder if you should instead use
the relation-get concept of probing the relation to get that data.
It's something like:
ids= $(relation- ids --type nfs)
relation-get --id <id>
I'll leave it to you to decide if this is a direction you want to go.
--
David Britton <email address hidden>