2018-02-05 16:05:59 -05:00
|
|
|
package quota // import "github.com/docker/docker/daemon/graphdriver/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"
|
|
|
|
}
|