and later on we can see /NET_NAME/ being replaced with config().get("net-name") however that isn't a trigger for this function. I think we'd want to add "config.changed.net-name" to @when_any. However, this is a bit complicated to test because we'd have to update the charm etc....
In charms/ focal/autopkgte st-cloud- worker/ reactive/ autopkgtest_ cloud_worker. py there is the following code:
413 @when_any( changed. worker- default- flavor" , changed. worker- big-flavor" , changed. worker- args", changed. worker- setup-command" , changed. worker- setup-command2" , changed. releases" , changed. n-workers" , changed. lxd-remotes" , changed. mirror" , "config. set.nova- rcs", "config. set.lxd- remotes" ) config( ):
414 "config.
415 "config.
416 "config.
417 "config.
418 "config.
419 "config.
420 "config.
421 "config.
422 "config.
423 )
424 @when_any(
425 def write_worker_
and later on we can see /NET_NAME/ being replaced with config( ).get(" net-name" ) however that isn't a trigger for this function. I think we'd want to add "config. changed. net-name" to @when_any. However, this is a bit complicated to test because we'd have to update the charm etc....