Skip to content

Commit

Permalink
Merge pull request #16789 from fuweid/cleanup-build-cov
Browse files Browse the repository at this point in the history
*: cleanup main_test.go
  • Loading branch information
ahrtr authored Oct 17, 2023
2 parents be83fff + f96000e commit bbf59a9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 216 deletions.
10 changes: 0 additions & 10 deletions etcdctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ import (
"go.etcd.io/etcd/etcdctl/v3/ctlv3"
)

/*
*
mainWithError is fully analogous to main, but instead of signaling errors
by os.Exit, it exposes the error explicitly, such that test-logic can intercept
control to e.g. dump coverage data (even for test-for-failure scenarios).
*/
func mainWithError() error {
return ctlv3.Start()
}

func main() {
ctlv3.MustStart()
return
Expand Down
68 changes: 0 additions & 68 deletions etcdctl/main_test.go

This file was deleted.

68 changes: 0 additions & 68 deletions etcdutl/main_test.go

This file was deleted.

70 changes: 0 additions & 70 deletions server/main_test.go

This file was deleted.

0 comments on commit bbf59a9

Please sign in to comment.