riteshghorse commented on pull request #15364: URL: https://github.com/apache/beam/pull/15364#issuecomment-903992033
It looks like it was due to the different go version. I was on go1.12 earlier and the case statements inside switch were written as `opt.(*counter)` didn't throw any error. Jenkins seems to be using go1.16 so updated the local version as well. And then I started getting the error due to this format. Changed it to ``` switch opt.(type) case *counter: case *distribution: case *gauge: ``` -- 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]
