diff --git a/simple_vm_client/metadata_connector/metadata_connector.py b/simple_vm_client/metadata_connector/metadata_connector.py index f79b86a..44da882 100644 --- a/simple_vm_client/metadata_connector/metadata_connector.py +++ b/simple_vm_client/metadata_connector/metadata_connector.py @@ -75,8 +75,7 @@ def remove_metadata(self, ip: str): timeout=(30, 30), headers={ "X-Auth-Token": self.METADATA_SERVER_TOKEN, - }, - verify=False, + } ) response.raise_for_status() logger.info(f"Metadata removed successfully for {ip}") @@ -125,8 +124,7 @@ def is_metadata_server_available(self): try: response = requests.get( health_url, - timeout=(30, 30), - verify=False, + timeout=(30, 30) ) response.raise_for_status() logger.info(f"Metadata Health Check --- {response.json()}")