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

*: cleanup main_test.go #16789

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading