88}
89
90// CheckInterfaceName is a noop for linux containers as they can have any names.
91func (n *linux) CheckInterfaceName() error {92 return nil
93}
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}