File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
aws-resources/src/test/java/io/opentelemetry/contrib/aws/resource Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 10
10
import com .google .common .collect .ImmutableMap ;
11
11
import com .linecorp .armeria .common .AggregatedHttpRequest ;
12
12
import com .linecorp .armeria .common .HttpResponse ;
13
+ import com .linecorp .armeria .common .TlsKeyPair ;
13
14
import com .linecorp .armeria .server .ServerBuilder ;
14
15
import com .linecorp .armeria .testing .junit5 .server .SelfSignedCertificateExtension ;
15
16
import com .linecorp .armeria .testing .junit5 .server .ServerExtension ;
@@ -68,7 +69,7 @@ static class HttpsServerTest {
68
69
new ServerExtension () {
69
70
@ Override
70
71
protected void configure (ServerBuilder sb ) {
71
- sb .tls (certificate .certificateFile (), certificate .privateKeyFile ( ));
72
+ sb .tls (TlsKeyPair . of ( certificate .privateKeyFile (), certificate .certificateFile () ));
72
73
73
74
sb .service ("/" , (ctx , req ) -> HttpResponse .of ("Thanks for trusting me" ));
74
75
}
You can’t perform that action at this time.
0 commit comments