@@ -316,9 +316,10 @@ def osbs(self):
316316 conf_section = DEFAULT_CONF_BINARY_SECTION
317317 elif self .method in BuildSourceContainerTask .Methods :
318318 conf_section = DEFAULT_CONF_SOURCE_SECTION
319-
320319 os_conf = Configuration (conf_section = conf_section )
321- self ._osbs = OSBS (os_conf )
320+ # figure out where to get this from brew otel
321+ traceparent = ''
322+ self ._osbs = OSBS (os_conf , traceparent = traceparent )
322323 if not self ._osbs :
323324 msg = 'Could not successfully instantiate `osbs`'
324325 raise ContainerError (msg )
@@ -1011,6 +1012,13 @@ def handler(self, src, target, opts=None):
10111012 userdata = opts .get ('userdata' , None ),
10121013 )
10131014
1015+ # need brew instrumentation to be completed to know where we will get this from
1016+ traceparent = ''
1017+ if traceparent :
1018+ kwargs .update ({
1019+ 'traceparent' : traceparent ,
1020+ })
1021+
10141022 result = self .createContainer (** kwargs )
10151023
10161024 self .logger .debug ("Result: %r" , result )
@@ -1190,6 +1198,13 @@ def handler(self, target, opts=None):
11901198 userdata = opts .get ('userdata' , None ),
11911199 )
11921200
1201+ # need brew instrumentation to be completed to know where we will get this from
1202+ traceparent = ''
1203+ if traceparent :
1204+ kwargs .update ({
1205+ 'traceparent' : traceparent ,
1206+ })
1207+
11931208 result = self .createSourceContainer (** kwargs )
11941209
11951210 self .logger .debug ("Result: %r" , result )
0 commit comments