Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Jan 5, 2023
1 parent e51cf10 commit 7873806
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

from charms.data_platform_libs.v0.database_requires import DatabaseCreatedEvent, DatabaseRequires
from charms.observability_libs.v0.kubernetes_service_patch import KubernetesServicePatch
from jinja2 import Template
from charms.traefik_k8s.v1.ingress import (
IngressPerAppReadyEvent,
IngressPerAppRequirer,
IngressPerAppRevokedEvent,
)
from jinja2 import Template
from ops.charm import CharmBase
from ops.main import main
from ops.model import ActiveStatus, BlockedStatus, MaintenanceStatus, WaitingStatus
Expand Down Expand Up @@ -64,12 +64,8 @@ def __init__(self, *args):
self.framework.observe(self.on.kratos_pebble_ready, self._on_pebble_ready)
self.framework.observe(self.database.on.database_created, self._on_database_changed)
self.framework.observe(self.database.on.endpoints_changed, self._on_database_changed)

# Admin ingress events
self.framework.observe(self.admin_ingress.on.ready, self._on_admin_ingress_ready)
self.framework.observe(self.admin_ingress.on.revoked, self._on_ingress_revoked)

# Public ingress events
self.framework.observe(self.public_ingress.on.ready, self._on_public_ingress_ready)
self.framework.observe(self.public_ingress.on.revoked, self._on_ingress_revoked)

Expand Down

0 comments on commit 7873806

Please sign in to comment.