reg/vendor/github.com/docker/docker-ce/components/engine/pkg/parsers/kernel/uname_unsupported.go
Jess Frazelle 843aebf2c1
update deps
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-14 11:48:41 -04:00

18 lines
411 B
Go

// +build !linux
package kernel // import "github.com/docker/docker/pkg/parsers/kernel"
import (
"errors"
)
// Utsname represents the system name structure.
// It is defined here to make it portable as it is available on linux but not
// on windows.
type Utsname struct {
Release [65]byte
}
func uname() (*Utsname, error) {
return nil, errors.New("Kernel version detection is available only on linux")
}