1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

source/panic_fake: rename module to make lint happy

This commit is contained in:
Markus Lehtonen 2020-05-19 16:26:49 +03:00
parent 853609f721
commit a65d05bd9c
3 changed files with 3 additions and 3 deletions

View file

@ -207,7 +207,7 @@ func TestCreateFeatureLabels(t *testing.T) {
func TestGetFeatureLabels(t *testing.T) {
Convey("When I get feature labels and panic occurs during discovery of a feature source", t, func() {
fakePanicFeatureSource := source.FeatureSource(new(panic_fake.Source))
fakePanicFeatureSource := source.FeatureSource(new(panicfake.Source))
returnedLabels, err := getFeatureLabels(fakePanicFeatureSource)
Convey("No label is returned", func() {

View file

@ -280,7 +280,7 @@ func configureParameters(sourcesWhiteList []string, labelWhiteListStr string) (e
kernel.Source{},
memory.Source{},
network.Source{},
panic_fake.Source{},
panicfake.Source{},
pci.Source{},
storage.Source{},
system.Source{},

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package panic_fake
package panicfake
import "sigs.k8s.io/node-feature-discovery/source"