Skip to content

Commit

Permalink
removing unnecessary service find
Browse files Browse the repository at this point in the history
  • Loading branch information
duplocloud-matt committed Jan 8, 2024
1 parent cb5d3a0 commit dc6359d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/duplo_resource/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit dc6359d

Please sign in to comment.