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 1010import  com .google .common .collect .ImmutableMap ;
1111import  com .linecorp .armeria .common .AggregatedHttpRequest ;
1212import  com .linecorp .armeria .common .HttpResponse ;
13+ import  com .linecorp .armeria .common .TlsKeyPair ;
1314import  com .linecorp .armeria .server .ServerBuilder ;
1415import  com .linecorp .armeria .testing .junit5 .server .SelfSignedCertificateExtension ;
1516import  com .linecorp .armeria .testing .junit5 .server .ServerExtension ;
@@ -68,7 +69,7 @@ static class HttpsServerTest {
6869        new  ServerExtension () {
6970          @ Override 
7071          protected  void  configure (ServerBuilder  sb ) {
71-             sb .tls (certificate .certificateFile (), certificate .privateKeyFile ( ));
72+             sb .tls (TlsKeyPair . of ( certificate .privateKeyFile (), certificate .certificateFile () ));
7273
7374            sb .service ("/" , (ctx , req ) -> HttpResponse .of ("Thanks for trusting me" ));
7475          }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments