RBD Plugin: Omit volume.MetricsProvider field and add some testcases.

This commit is contained in:
Yecheng Fu
2017-09-03 14:31:01 +00:00
parent 4af900b43f
commit 8fa92e48a8
3 changed files with 88 additions and 2 deletions

View File

@@ -409,8 +409,8 @@ type rbd struct {
mounter *mount.SafeFormatAndMount
exec mount.Exec
// Utility interface that provides API calls to the provider to attach/detach disks.
manager diskManager
volume.MetricsProvider
manager diskManager
volume.MetricsProvider `json:"-"`
}
func (rbd *rbd) GetPath() string {