From c9ed3030d4b79f1decd70bb23589d08e784ae9d3 Mon Sep 17 00:00:00 2001 From: Mateusz Kulewicz Date: Tue, 8 Oct 2024 22:02:30 +0200 Subject: [PATCH] Correct imports --- src/cosl/coordinated_workers/coordinator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cosl/coordinated_workers/coordinator.py b/src/cosl/coordinated_workers/coordinator.py index 33dfda3..2e56d43 100644 --- a/src/cosl/coordinated_workers/coordinator.py +++ b/src/cosl/coordinated_workers/coordinator.py @@ -40,8 +40,6 @@ ) from cosl.helpers import check_libs_installed -from lib.charms.loki_k8s.v1.loki_push_api import LogForwarder - check_libs_installed( "charms.data_platform_libs.v0.s3", "charms.grafana_k8s.v0.grafana_source", @@ -56,7 +54,7 @@ from charms.data_platform_libs.v0.s3 import S3Requirer from charms.grafana_k8s.v0.grafana_dashboard import GrafanaDashboardProvider -from charms.loki_k8s.v1.loki_push_api import LokiPushApiConsumer +from charms.loki_k8s.v1.loki_push_api import LokiPushApiConsumer, LogForwarder from charms.observability_libs.v0.kubernetes_compute_resources_patch import ( KubernetesComputeResourcesPatch, adjust_resource_requirements,