71
88
// ClosePorts closes the given ports on the instance, which
72
89
// should have been started with the given machine id.
73
90
func (inst *environInstance) ClosePorts(machineID string, ports []network.PortRange) error {
75
92
env := inst.env.getSnapshot()
76
93
err := env.raw.ClosePorts(name, ports...)
77
94
if errors.IsNotImplemented(err) {