Merge pull request #30863 from ping035627/ping035627-patch-0818
Automatic merge from submit-queue
Optimise the ValidateBytes function
The PR optimise the "ValidateBytes" function in factory.go. Too much "if" branches is poor readability, use "switch" to look better.
Showing
Please
register
or
sign in
to comment