Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run gofmt to generate new //go:build directives #2640

Conversation

antoninbas
Copy link
Contributor

Otherwise the CI codegen check will fail.
See the "//go:build lines" section in https://golang.org/doc/go1.17.

Signed-off-by: Antonin Bas abas@vmware.com

Otherwise the CI codegen check will fail.
See the "//go:build lines" section in https://golang.org/doc/go1.17.

Signed-off-by: Antonin Bas <abas@vmware.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #2640 (f1e77d8) into main (7211166) will increase coverage by 19.24%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2640       +/-   ##
===========================================
+ Coverage   41.43%   60.67%   +19.24%     
===========================================
  Files         159      286      +127     
  Lines       19364    23096     +3732     
===========================================
+ Hits         8023    14013     +5990     
+ Misses      10612     7610     -3002     
- Partials      729     1473      +744     
Flag Coverage Δ
kind-e2e-tests 47.67% <ø> (?)
unit-tests 41.42% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/agent/agent_linux.go 80.00% <ø> (+80.00%) ⬆️
...g/agent/cniserver/interface_configuration_linux.go 16.15% <ø> (+10.99%) ⬆️
pkg/agent/cniserver/pod_configuration_linux.go 100.00% <ø> (+100.00%) ⬆️
pkg/agent/cniserver/sriov.go 0.00% <ø> (ø)
.../agent/flowexporter/connections/conntrack_linux.go 59.78% <ø> (ø)
pkg/agent/nodeportlocal/k8s/annotations.go 83.87% <ø> (+83.87%) ⬆️
pkg/agent/nodeportlocal/k8s/npl_controller.go 59.31% <ø> (+59.31%) ⬆️
pkg/agent/nodeportlocal/npl_agent_init.go 83.33% <ø> (+12.50%) ⬆️
pkg/agent/nodeportlocal/portcache/port_table.go 63.15% <ø> (ø)
pkg/agent/nodeportlocal/rules/iptable_rule.go 54.09% <ø> (ø)
... and 254 more

@antoninbas
Copy link
Contributor Author

/skip-all

@antoninbas antoninbas merged commit 2626ad0 into antrea-io:main Aug 25, 2021
@antoninbas antoninbas deleted the run-gofmt-to-generate-new-go-build-directives branch August 25, 2021 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants