mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
remove unwanted newlines
This commit is contained in:
parent
636f8e1a3e
commit
096d2e5895
@ -51,7 +51,6 @@ type TestServer struct {
|
|||||||
// and location of the tmpdir are returned.
|
// and location of the tmpdir are returned.
|
||||||
//
|
//
|
||||||
// Note: we return a tear-down func instead of a stop channel because the later will leak temporary
|
// Note: we return a tear-down func instead of a stop channel because the later will leak temporary
|
||||||
//
|
|
||||||
// files that because Golang testing's call to os.Exit will not give a stop channel go routine
|
// files that because Golang testing's call to os.Exit will not give a stop channel go routine
|
||||||
// enough time to remove temporary files.
|
// enough time to remove temporary files.
|
||||||
func StartTestServer(ctx context.Context, customFlags []string) (result TestServer, err error) {
|
func StartTestServer(ctx context.Context, customFlags []string) (result TestServer, err error) {
|
||||||
|
@ -52,7 +52,6 @@ type TestServer struct {
|
|||||||
// and location of the tmpdir are returned.
|
// and location of the tmpdir are returned.
|
||||||
//
|
//
|
||||||
// Note: we return a tear-down func instead of a stop channel because the later will leak temporary
|
// Note: we return a tear-down func instead of a stop channel because the later will leak temporary
|
||||||
//
|
|
||||||
// files that because Golang testing's call to os.Exit will not give a stop channel go routine
|
// files that because Golang testing's call to os.Exit will not give a stop channel go routine
|
||||||
// enough time to remove temporary files.
|
// enough time to remove temporary files.
|
||||||
func StartTestServer(ctx context.Context, customFlags []string) (result TestServer, err error) {
|
func StartTestServer(ctx context.Context, customFlags []string) (result TestServer, err error) {
|
||||||
|
@ -289,6 +289,5 @@ func intPtr(x int) *int {
|
|||||||
func fakeCloudProviderFactory(io.Reader) (cloudprovider.Interface, error) {
|
func fakeCloudProviderFactory(io.Reader) (cloudprovider.Interface, error) {
|
||||||
return &fake.Cloud{
|
return &fake.Cloud{
|
||||||
DisableRoutes: true, // disable routes for server tests, otherwise --cluster-cidr is required
|
DisableRoutes: true, // disable routes for server tests, otherwise --cluster-cidr is required
|
||||||
|
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user