mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
fix static checks
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2017 The Kubernetes Authors.
|
Copyright 2018 The Kubernetes Authors.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2015 The Kubernetes Authors.
|
Copyright 2018 The Kubernetes Authors.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@@ -25,6 +25,7 @@ type FakeNetwork struct {
|
|||||||
Address map[string][]net.Addr
|
Address map[string][]net.Addr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewFakeNetwork initializes a FakeNetwork.
|
||||||
func NewFakeNetwork() *FakeNetwork {
|
func NewFakeNetwork() *FakeNetwork {
|
||||||
return &FakeNetwork{
|
return &FakeNetwork{
|
||||||
NetworkInterfaces: make([]net.Interface, 0),
|
NetworkInterfaces: make([]net.Interface, 0),
|
||||||
|
Reference in New Issue
Block a user