2018-03-06 10:41:43 -05:00
|
|
|
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
|
2018-03-06 10:32:47 -05:00
|
|
|
|
2018-03-06 10:41:43 -05:00
|
|
|
import "github.com/docker/docker/errdefs"
|
2018-03-06 10:32:47 -05: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"
|
|
|
|
}
|