func (t MachineTag) Parent() Tag {
	parts := strings.Split(t.id, "-")
	if len(parts) < 3 {
		return nil
	}
	return MachineTag{id: strings.Join(parts[:len(parts)-2], "-")}
}
// Parent returns the machineTag for the host of the container if the machineTag
// is a container, otherwise it returns nil.
Parent returns the machineTag for the host of the container if the machineTag
is a container, otherwise it returns nil.
// Parent returns the machineTag for the host of the container if the machineTag // is a container otherwise it returns nil .
func (t MachineTag) Parent() Tag {
	parts := strings.Split(t.id, "-")
	if len(parts) < 3 {
		return nil
	}
	return MachineTag{id: strings.Join(parts[:len(parts)-2], "-")}
}
func ( t MachineTag ) Parent ( ) Tag { parts := strings . Split ( t . id , " " ) if len ( parts ) < 3 { return nil } return MachineTag { id : strings . Join ( parts [ : len ( parts ) - 2 ] , " " ) } }
Parent returns the machineTag for the host of the container if the machineTag
is a container, otherwise it returns nil.
Parent returns the machineTag for the host of the container if the machineTag is a container otherwise it returns nil .