Skip to content

Commit

Permalink
skip: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas committed Sep 14, 2023
1 parent 05fffd7 commit 09ddd7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 2 additions & 6 deletions charms/argo-controller/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion charms/argo-controller/src/components/pebble_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 09ddd7c

Please sign in to comment.