-
Notifications
You must be signed in to change notification settings - Fork 274
fix golints G114 and package-comments #5037
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5037 +/- ##
==========================================
- Coverage 68.71% 68.69% -0.03%
==========================================
Files 215 215
Lines 16118 16118
==========================================
- Hits 11076 11072 -4
- Misses 4982 4986 +4
Partials 60 60
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
df6264c
to
138c030
Compare
I think this linter issue occurs because we are running latest linter in CI. There is lots of value to that, but the UI is pretty rough since it doesn't show you all the linter failures in one go and it takes a really long time locally. I fixed a bunch of these last month #4969. We have the timeout set to 10m in the Line 3 in 157a15e
args: --timeout=10m to osm/.github/workflows/main.yml Lines 55 to 58 in 157a15e
Thanks for addressing them @shalier, this was frustrating when I did it last month :-/ |
That did make it run for 10 mins but looks like it still timed out :-( |
17fb7e4
to
4e9f5bb
Compare
golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Signed-off-by: Shalier Xia shalierxia@microsoft.com Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Fix ingress backend broken SAN (openservicemesh#4914) Fix ingress backend SAN's, which were getting the trust domain appended to the provided SAN. This adds an e2e test to catch that going forward. This also switches the internal builders to use the principal (trust domain appended) vs the identity (no trust domain) Signed-off-by: nshankar13 <nshankar@microsoft.com> [backport] cherry-pick 961c865 to release-v1.2 fix golints G114 and package-comments (openservicemesh#5037) golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Fix ingress backend broken SAN (openservicemesh#4914) Fix ingress backend SAN's, which were getting the trust domain appended to the provided SAN. This adds an e2e test to catch that going forward. This also switches the internal builders to use the principal (trust domain appended) vs the identity (no trust domain) Signed-off-by: nshankar13 <nshankar@microsoft.com> [backport] cherry-pick 961c865 to release-v1.2 fix golints G114 and package-comments (openservicemesh#5037) golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com> [backport] cherry-pick df502a7 to release-v1.2 bump version of go to 1.19 (openservicemesh#4972) Signed-off-by: Sean Teeling <seanteeling@microsoft.com>
Fix ingress backend broken SAN (openservicemesh#4914) Fix ingress backend SAN's, which were getting the trust domain appended to the provided SAN. This adds an e2e test to catch that going forward. This also switches the internal builders to use the principal (trust domain appended) vs the identity (no trust domain) [backport] cherry-pick 961c865 to release-v1.2 fix golints G114 and package-comments (openservicemesh#5037) golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com>
Fix ingress backend broken SAN (openservicemesh#4914) Fix ingress backend SAN's, which were getting the trust domain appended to the provided SAN. This adds an e2e test to catch that going forward. This also switches the internal builders to use the principal (trust domain appended) vs the identity (no trust domain) [backport] cherry-pick 961c865 to release-v1.2 fix golints G114 and package-comments (openservicemesh#5037) golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com> Signed-off-by: nshankar13 <nshankar@microsoft.com>
Fix ingress backend broken SAN (openservicemesh#4914) Fix ingress backend SAN's, which were getting the trust domain appended to the provided SAN. This adds an e2e test to catch that going forward. This also switches the internal builders to use the principal (trust domain appended) vs the identity (no trust domain) [backport] cherry-pick 961c865 to release-v1.2 fix golints G114 and package-comments (openservicemesh#5037) golints addressed: 1. G114: Use of net/http serve function that has no support for setting timeouts 2. package-comments 3. removes pkg mesh and moves isValidUUID() to pkg/cli/proxy_get.go Signed-off-by: Shalier Xia <shalierxia@microsoft.com> Signed-off-by: nshankar13 <nshankar@microsoft.com>
Description:
changes:
Signed-off-by: Shalier Xia shalierxia@microsoft.com
Testing done:
Affected area:
Please answer the following questions with yes/no.
Does this change contain code from or inspired by another project?
Is this a breaking change?
Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?