Commit 602e3fe0 authored by aticig's avatar aticig
Browse files

Small fix in Squid delete action

parent 6844055a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)