Skip to content

Commit

Permalink
Use ops.main instead of ops.main.main, the latter is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielArndt committed Dec 5, 2024
1 parent 39cbbb4 commit 889ba66
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 @@ -24,9 +24,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 889ba66

Please sign in to comment.