Skip to content
Snippets Groups Projects
Commit 72572a68 authored by garciadav's avatar garciadav
Browse files

Merge branch 'squidfix' into 'master'

Small fix in Squid delete action

See merge request !181
parents 6844055a 602e3fe0
No related branches found
No related tags found
1 merge request!181Small fix in Squid delete action
Pipeline #4779 failed with stage
in 1 minute and 31 seconds
......@@ -42,7 +42,7 @@ class SquidCluster(ops.framework.Object):
def delete_url(self, url: str):
if self.framework.model.unit.is_leader():
allowed_urls = self.allowed_urls
self.framework.model.unit.status = ops.model.ActiveStatus(self.allowed_urls)
self.framework.model.unit.status = ops.model.ActiveStatus(repr(self.allowed_urls))
if url in allowed_urls:
allowed_urls.remove(url)
self.update_allowed_urls(allowed_urls)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment