Add GetNodeLabels to VolumeHost interface

This commit is contained in:
Michelle Au
2017-04-19 23:00:59 -07:00
parent f6b3d083b7
commit 6ade5461ad
5 changed files with 23 additions and 0 deletions

View File

@@ -564,3 +564,7 @@ func (adc *attachDetachController) addNodeToDswp(node *v1.Node, nodeName types.N
adc.desiredStateOfWorld.AddNode(nodeName, keepTerminatedPodVolumes)
}
}
func (adc *attachDetachController) GetNodeLabels() (map[string]string, error) {
return nil, fmt.Errorf("GetNodeLabels() unsupported in Attach/Detach controller")
}