diff --git a/charms/argo-controller/src/charm.py b/charms/argo-controller/src/charm.py index 76c6c3e..4fedbaf 100755 --- a/charms/argo-controller/src/charm.py +++ b/charms/argo-controller/src/charm.py @@ -150,14 +150,10 @@ def _context_callable(self): "app_name": self.app.name, "namespace": self.model.name, "access_key": b64encode( - self.object_storage_relation.component.get_data()["access-key"].encode( - "utf-8" - ) + self.object_storage_relation.component.get_data()["access-key"].encode("utf-8") ).decode("utf-8"), "secret_key": b64encode( - self.object_storage_relation.component.get_data()["secret-key"].encode( - "utf-8" - ) + self.object_storage_relation.component.get_data()["secret-key"].encode("utf-8") ).decode("utf-8"), "mlpipeline_minio_artifact_secret": "mlpipeline-minio-artifact-secret", "argo_controller_configmap": ARGO_CONTROLLER_CONFIGMAP, diff --git a/charms/argo-controller/src/components/pebble_component.py b/charms/argo-controller/src/components/pebble_component.py index 3d27cfd..35688d6 100644 --- a/charms/argo-controller/src/components/pebble_component.py +++ b/charms/argo-controller/src/components/pebble_component.py @@ -16,7 +16,8 @@ class ArgoControllerPebbleService(PebbleServiceComponent): - """Pebble service container component to configure Pebble layer""" + """Pebble service container component to configure Pebble layer.""" + def __init__( self, *args,