Bug 1980 fixed
[osm/N2VC.git] / n2vc / k8s_juju_conn.py
index 1e400c2..c27449b 100644 (file)
@@ -13,6 +13,7 @@
 #     limitations under the License.
 
 import asyncio
 #     limitations under the License.
 
 import asyncio
+from typing import Union
 import os
 import uuid
 import yaml
 import os
 import uuid
 import yaml
@@ -656,7 +657,7 @@ class K8sJujuConnector(K8sConnector):
         complete_status: bool = False,
         yaml_format: bool = False,
         **kwargs,
         complete_status: bool = False,
         yaml_format: bool = False,
         **kwargs,
-    ) -> dict:
+    ) -> Union[str, dict]:
         """Get the status of the KDU
 
         Get the current status of the KDU instance.
         """Get the status of the KDU
 
         Get the current status of the KDU instance.