2020-08-09 16:04:43 -04:00
|
|
|
package quota // import "github.com/docker/docker/quota"
|
2017-10-30 16:18:14 -04:00
|
|
|
|
2018-01-11 14:53:06 -05:00
|
|
|
import "github.com/docker/docker/errdefs"
|
2017-10-30 16:18:14 -04:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|