427
427
// flushGlobalPorts opens and closes ports global on the machine.
428
func (fw *Firewaller) flushInstancePorts(machined *machineData, toOpen, toClose []params.Port) error {
428
func (fw *Firewaller) flushInstancePorts(machined *machineData, toOpen, toClose []instance.Port) error {
429
429
// If there's nothing to do, do nothing.
430
430
// This is important because when a machine is first created,
431
431
// it will have no instance id but also no open ports -