File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1313from kubernetes .dynamic import DynamicClient
1414from kubernetes .stream import stream
1515from kubernetes .utils import create_from_yaml
16+ from urllib3 import HTTPResponse
1617
1718from .constants import (
1819 CADDY_INGRESS_NAME ,
@@ -376,14 +377,15 @@ def get_ingress_ip_or_host():
376377 return None
377378
378379
379- def pod_log (pod_name , container_name = None , follow = False ) :
380+ def pod_log (pod_name , container_name = None , follow = False , timestamps = False ) -> HTTPResponse :
380381 sclient = get_static_client ()
381382 try :
382383 return sclient .read_namespaced_pod_log (
383384 name = pod_name ,
384385 namespace = get_default_namespace (),
385386 container = container_name ,
386387 follow = follow ,
388+ timestamps = timestamps ,
387389 _preload_content = False ,
388390 )
389391 except ApiException as e :
You can’t perform that action at this time.
0 commit comments