From dc6359d0c63620f3b763a4c4bc70bfd6dff8a068 Mon Sep 17 00:00:00 2001 From: Matt Herrick Date: Mon, 8 Jan 2024 09:03:46 -0600 Subject: [PATCH] removing unnecessary service find --- src/duplo_resource/service.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/duplo_resource/service.py b/src/duplo_resource/service.py index 3327e836..e97e0f97 100644 --- a/src/duplo_resource/service.py +++ b/src/duplo_resource/service.py @@ -63,10 +63,6 @@ def bulk_update_image(self, serviceimage/-S (string): takes n sets of two arguments, service name and image name. e.g -S service1 image1:tag -S service2 image2:tag """ tenant_id = self.tenant["TenantId"] - # Check that all services exist before updating - servicelist = [item[0] for item in serviceimage] - for name in servicelist: - service = self.find(name) payload = [] for args in serviceimage: servicepair = dict([args])