@Ian Booth (wallyworld),
I think you are 100% right. Model resolution at offer command is not correct. Instead of ``` c.NewControllerAPIRoot() ```
at https://github.com/juju/juju/blob/develop/cmd/juju/crossmodel/list.go#L87
we should be calling
``` (c *ModelCommandBase) NewAPIRoot() ```
as this will get both the correct model and the correct controller.
@Ian Booth (wallyworld),
I think you are 100% right. Model resolution at offer command is not correct. APIRoot( )
Instead of
```
c.NewController
```
at https:/ /github. com/juju/ juju/blob/ develop/ cmd/juju/ crossmodel/ list.go# L87
we should be calling
```
(c *ModelCommandBase) NewAPIRoot()
```
as this will get both the correct model and the correct controller.