Skip to content

Commit

Permalink
refactor: Use ops.main instead of ops.main.main, the latter is de…
Browse files Browse the repository at this point in the history
…precated (#275)
  • Loading branch information
DanielArndt authored Dec 5, 2024
1 parent 65507a4 commit 54f2e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
generate_certificate,
generate_private_key,
)
from ops import main
from ops.charm import ActionEvent, CharmBase, CollectStatusEvent
from ops.framework import EventBase
from ops.main import main
from ops.model import ActiveStatus, BlockedStatus, SecretNotFoundError

from constants import (
Expand Down

0 comments on commit 54f2e2f

Please sign in to comment.