Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Oct 7, 2024
1 parent e03e9b3 commit 85a2491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/cosl/coordinated_workers/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def __init__(
self.topology = cosl.JujuTopology.from_charm(self._charm)
self._external_url = external_url
self._worker_metrics_port = worker_metrics_port

self._endpoints = endpoints

_validate_container_name(container_name, resources_requests)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_coordinated_workers/test_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def __init__(self, framework: Framework):
"tracing": "my-tracing",
"s3": "my-s3",
},
nginx_config=lambda coordinator: f"nginx configuration for {coordinator.name}",
workers_config=lambda coordinator: f"workers configuration for {coordinator.name}",
nginx_config=lambda coordinator: f"nginx configuration for {coordinator._charm.meta.name}",
workers_config=lambda coordinator: f"workers configuration for {coordinator._charm.meta.name}",
# nginx_options: Optional[NginxMappingOverrides] = None,
# is_coherent: Optional[Callable[[ClusterProvider, ClusterRolesConfig], bool]] = None,
# is_recommended: Optional[Callable[[ClusterProvider, ClusterRolesConfig], bool]] = None,
Expand Down

0 comments on commit 85a2491

Please sign in to comment.