Signed-off-by: Christopher Crone <christopher.crone@docker.com>
| ... | ... |
@@ -171,10 +171,10 @@ func (e notImplementedError) NotImplemented() bool {
|
| 171 | 171 |
return true |
| 172 | 172 |
} |
| 173 | 173 |
|
| 174 |
-// IsNotImplementedError returns true if the error is a NotImplemented error. |
|
| 174 |
+// IsErrNotImplemented returns true if the error is a NotImplemented error. |
|
| 175 | 175 |
// This is returned by the API when a requested feature has not been |
| 176 | 176 |
// implemented. |
| 177 |
-func IsNotImplementedError(err error) bool {
|
|
| 177 |
+func IsErrNotImplemented(err error) bool {
|
|
| 178 | 178 |
te, ok := err.(notImplementedError) |
| 179 | 179 |
return ok && te.NotImplemented() |
| 180 | 180 |
} |