Files
moby/quota/errors.go
Sebastiaan van Stijn 2548254317 quota: remove // import comments
These comments were added to enforce using the correct import path for
our packages ("github.com/docker/docker", not "github.com/moby/moby").
However, when working in go module mode (not GOPATH / vendor), they have
no effect, so their impact is limited.

Remove these imports in preparation of migrating our code to become an
actual go module.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-30 15:59:15 +02:00

17 lines
467 B
Go

package quota
import "github.com/docker/docker/errdefs"
var _ errdefs.ErrNotImplemented = (*errQuotaNotSupported)(nil)
// ErrQuotaNotSupported indicates if were found the FS didn't have projects quotas available
var ErrQuotaNotSupported = errQuotaNotSupported{}
type errQuotaNotSupported struct{}
func (e errQuotaNotSupported) NotImplemented() {}
func (e errQuotaNotSupported) Error() string {
return "Filesystem does not support, or has not enabled quotas"
}