diff --git a/fedcloud_vm_monitoring/site_monitor.py b/fedcloud_vm_monitoring/site_monitor.py index fa0d974..e949bb8 100644 --- a/fedcloud_vm_monitoring/site_monitor.py +++ b/fedcloud_vm_monitoring/site_monitor.py @@ -93,14 +93,16 @@ def get_vm_image_volume_show(self, volume_id): ): return ( result["volume_image_metadata"]["sl:osname"] - + " " + result["volume_image_metadata"]["sl:osversion"] + + " " + + result["volume_image_metadata"]["sl:osversion"] ) elif ("volume_image_metadata" in result) and ( "os_distro" and "os_version" in result["volume_image_metadata"] ): return ( result["volume_image_metadata"]["os_distro"] - + " " + result["volume_image_metadata"]["os_version"] + + " " + + result["volume_image_metadata"]["os_version"] ) elif ("volume_image_metadata" in result) and ( "image_name" in result["volume_image_metadata"] @@ -158,7 +160,8 @@ def get_vm_image(self, vm_id, image_name, image_id): if "sl:osname" and "sl:osversion" in result["properties"]: return ( result["properties"]["sl:osname"] - + " " + result["properties"]["sl:osversion"] + + " " + + result["properties"]["sl:osversion"] ) else: return self.get_vm_image_server_show(vm_id)