Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkay committed Jun 13, 2024
1 parent 944eeb1 commit 69518ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/scenario/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ def _tempo_mock_with_initial_config(tmp_path):
container.can_connect = lambda: True
# prevent tls_ready from reporting True
container.exists = lambda path: (
False
if path in [Tempo.tls_cert_path, Tempo.tls_key_path, Tempo.tls_ca_path]
else True
False if path in [Tempo.tls_cert_path, Tempo.tls_key_path, Tempo.tls_ca_path] else True
)
initial_config = Tempo(container).generate_config(["otlp_http"])
tempo_config.write_text(yaml.safe_dump(initial_config))
Expand Down

0 comments on commit 69518ec

Please sign in to comment.