We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af10ed0 commit de88c05Copy full SHA for de88c05
1 file changed
docs/narrative/model.rst
@@ -110,8 +110,9 @@ py:method:`juju.controller.Controller.destroy_model` for more info.
110
# Do stuff with our model...
111
112
# Destroy the model
113
+ model_uuid = model.info.uuid
114
await model.disconnect()
- await controller.destroy_model(model.info.uuid)
115
+ await controller.destroy_model(model_uuid)
116
model = None
117
118
0 commit comments