open-nomad/client/fingerprint/network_default.go
2023-04-10 15:36:59 +00:00

13 lines
264 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !linux && !windows
// +build !linux,!windows
package fingerprint
// linkSpeed returns the default link speed
func (f *NetworkFingerprint) linkSpeed(device string) int {
return 0
}