To summarise the behaviour change: 1.21+ is more likely to get a dns name back, but the users of this command need an ip address. Scripts that depend on the ip address will need to be changed to call --refresh to get the expected behaviour of older jujus.
To summarise the behaviour change: 1.21+ is more likely to get a dns name back, but the users of this command need an ip address. Scripts that depend on the ip address will need to be changed to call --refresh to get the expected behaviour of older jujus.