65
81
// ClosePorts closes the given ports on the instance, which
66
82
// should have been started with the given machine id.
67
83
func (inst *environInstance) ClosePorts(machineID string, ports []network.PortRange) error {
69
85
env := inst.env.getSnapshot()
70
86
err := env.gce.ClosePorts(name, ports...)