canonical / sdcore-amf-k8s-operator

Charmed Operator for the SD-Core Access and Mobility Management Function (AMF).
https://charmhub.io/sdcore-amf-k8s
Apache License 2.0
1 stars 1 forks source link

chore: replace `ops.main.main()` with `ops.main` #423

Closed gruyaume closed 3 weeks ago

gruyaume commented 3 weeks ago

Description

ops.main.main() is deprecated. Here, we replace it with ops.main().

Logs

/var/lib/juju/agents/unit-gnbsim-0/charm/./src/charm.py:510: DeprecationWarning: Calling ops.main.main() is deprecated, call ops.main() instead
  main(GNBSIMOperatorCharm)

Checklist: