Retool mount detection for tests

This commit is contained in:
Tim Hockin
2015-03-16 16:17:47 -07:00
parent 1725c23eb2
commit b42652cd3d
4 changed files with 75 additions and 63 deletions

View File

@@ -18,9 +18,9 @@ limitations under the License.
package empty_dir
// realMediumer pretends to implement mediumer.
type realMediumer struct{}
// realMountDetector pretends to implement mediumer.
type realMountDetector struct{}
func (m *realMediumer) GetMedium(path string) (storageMedium, error) {
return mediumUnknown, nil
func (m *realMountDetector) GetMountMedium(path string) (storageMedium, bool, error) {
return mediumUnknown, false, nil
}