Problem
https://github.com/canonical/jimm/blob/v3/internal/dbmodel/model.go#L140-L147
here we always return an empty model type.
However the Juju client if the model type is empty it will auto-fill IAAS.
See https://github.com/SimoneDutto/juju/blob/fix-new-client-client/api/controller/controller/controller.go#L47-L74
Solution
The solution might be to call the controller hosting the model to get the model type and merge the info we have in jimm's state with the one coming from the actual controller. Like we do for ListModels
Problem
https://github.com/canonical/jimm/blob/v3/internal/dbmodel/model.go#L140-L147
here we always return an empty model type.
However the Juju client if the model type is empty it will auto-fill IAAS.
See https://github.com/SimoneDutto/juju/blob/fix-new-client-client/api/controller/controller/controller.go#L47-L74
Solution
The solution might be to call the controller hosting the model to get the model type and merge the info we have in jimm's state with the one coming from the actual controller. Like we do for
ListModels