mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-02 11:09:40 +00:00
We are not making use of the stack traces that these functions capture, so we should avoid using them as unnecessary overhead.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit bed1f66880)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
22 lines
562 B
Go
22 lines
562 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package containerd
|
|
|
|
import (
|
|
util2 "github.com/k3s-io/k3s/pkg/util"
|
|
pkgerrors "github.com/pkg/errors"
|
|
)
|
|
|
|
func OverlaySupported(root string) error {
|
|
return pkgerrors.WithMessagef(util2.ErrUnsupportedPlatform, "overlayfs is not supported")
|
|
}
|
|
|
|
func FuseoverlayfsSupported(root string) error {
|
|
return pkgerrors.WithMessagef(util2.ErrUnsupportedPlatform, "fuse-overlayfs is not supported")
|
|
}
|
|
|
|
func StargzSupported(root string) error {
|
|
return pkgerrors.WithMessagef(util2.ErrUnsupportedPlatform, "stargz is not supported")
|
|
}
|