File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,10 @@ export async function buildMetadataForWorkload(
147147 }
148148
149149 if ( ! ( pod . status && pod . status . containerStatuses ) ) {
150- logger . warn ( { pod } , 'pod lacks status or status.containerStatus' ) ;
150+ logger . warn (
151+ { podMetadata : pod . metadata } ,
152+ 'pod lacks status or status.containerStatus' ,
153+ ) ;
151154 return undefined ;
152155 }
153156
Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ export function getProxyAgent(
5050 } ) ;
5151
5252 default :
53- logger . error ( { url, endpoint } , 'Unsupported protocol for proxying' ) ;
53+ logger . error (
54+ { urlHost : url . host , urlProtocol : url . protocol } ,
55+ 'Unsupported protocol for proxying' ,
56+ ) ;
5457 throw new Error ( 'Unsupported protocol for proxying' ) ;
5558 }
5659}
You can’t perform that action at this time.
0 commit comments