riteshghorse commented on a change in pull request #16957:
URL: https://github.com/apache/beam/pull/16957#discussion_r831365653



##########
File path: sdks/go/pkg/beam/core/runtime/harness/harness.go
##########
@@ -98,6 +111,18 @@ func Main(ctx context.Context, loggingEndpoint, 
controlEndpoint string) error {
                log.Debugf(ctx, "control response channel closed")
        }()
 
+       // if the runner supports worker status api then expose SDK harness 
status
+       if statusEndpoint != "" {
+               statusHandler, err := newWorkerStatusHandler(ctx, 
statusEndpoint)
+               if err != nil {
+                       log.Error(ctx, err)
+               }
+               var wg sync.WaitGroup

Review comment:
       Done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to