File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ def __init__(self, *args):
213213 self ,
214214 key = TEMPO_SERVER_CERT_KEY ,
215215 certificates_relation_name = TRACING_CERTIFICATES_RELATION_NAME ,
216+ peer_relation_name = PEER ,
216217 sans = [socket .getfqdn ()],
217218 )
218219 self .framework .observe (
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ async def test_enable_tls(ops_test: OpsTest) -> None:
114114
115115 # Relate with TLS charm
116116 logger .info ("Relate to TLS operator" )
117- await ops_test .model .relate (app , TLS_APP_NAME )
117+ await ops_test .model .relate (f" { app } :certificates" , f" { TLS_APP_NAME } :certificates" )
118118
119119 # Wait for hooks start reconfiguring app
120120 # add as a wait since app state does not change
You can’t perform that action at this time.
0 commit comments