pavel-avilov commented on a change in pull request #16172:
URL: https://github.com/apache/beam/pull/16172#discussion_r767767988
##########
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)
+ if ok && validateIsUnitTest.(bool) {
isUnitTest = true
}
Review comment:
These lines of code are needed for the logic in line 120, so I just
moved these lines there.
--
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]