pavel-avilov commented on a change in pull request #16172:
URL: https://github.com/apache/beam/pull/16172#discussion_r767771535



##########
File path: playground/backend/internal/code_processing/code_processing.go
##########
@@ -90,8 +90,8 @@ func Process(ctx context.Context, cacheService cache.Cache, 
lc *fs_tool.LifeCycl
        }
        // Check if unit test
        isUnitTest := false
-       valResult, ok := 
validationResults.Load(validators.UnitTestValidatorName)
-       if ok && valResult.(bool) {
+       validateIsUnitTest, ok := 
validationResults.Load(validators.UnitTestValidatorName)

Review comment:
       variable `isUnitTest` initialized above




-- 
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