moby--moby/utils/uname_unsupported.go

16 lines
219 B
Go

// +build !linux !amd64
package utils
import (
"errors"
)
type Utsname struct {
Release [65]byte
}
func uname() (*Utsname, error) {
return nil, errors.New("Kernel version detection is available only on linux")
}