Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BitK committed Oct 28, 2021
1 parent b1fb634 commit b5a8144
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockers/manager/back/app/api/traefik.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ async def create_from_object(client, obj, prefix=""):

async def delete_pattern(client, pattern):
async with client.pipeline(transaction=True) as pipe:
for key in await client.keys(pattern):
pipe = pipe.delete(key.lower())
for key in await client.keys(pattern.lower()):
print("delete", key)
pipe = pipe.delete(key)
await pipe.execute()


Expand Down

0 comments on commit b5a8144

Please sign in to comment.