diff --git a/api/nodes.go b/api/nodes.go index 66c3906f3..4c823fb3d 100644 --- a/api/nodes.go +++ b/api/nodes.go @@ -438,7 +438,7 @@ type DriverInfo struct { // HostVolumeInfo is used to return metadata about a given HostVolume. type HostVolumeInfo struct { - Source string + Path string ReadOnly bool Hidden bool } diff --git a/command/node_status.go b/command/node_status.go index 0199f7b24..97923b6c5 100644 --- a/command/node_status.go +++ b/command/node_status.go @@ -490,7 +490,7 @@ func (c *NodeStatusCommand) outputNodeVolumeInfo(node *api.Node) { for _, volName := range names { info := node.HostVolumes[volName] - output = append(output, fmt.Sprintf("%s|%v|%v|%s", volName, info.ReadOnly, info.Hidden, info.Source)) + output = append(output, fmt.Sprintf("%s|%v|%v|%s", volName, info.ReadOnly, info.Hidden, info.Path)) } c.Ui.Output(formatList(output)) }