func (u *Updater) Remove() error {
	desired, err := u.allDesiredSegments()
	if err != nil {
		return err
	}
	current, err := u.Client.ListIsolationSegments()
	if err != nil {
		return err
	}

	c := classify(desired, current)
	for i := range c.extra {
		err := u.delete(&c.extra[i])
		if err != nil {
			return err
		}
	}
	return nil
}
func (u *Updater) Remove() error {
	desired, err := u.allDesiredSegments()
	if err != nil {
		return err
	}
	current, err := u.Client.ListIsolationSegments()
	if err != nil {
		return err
	}

	c := classify(desired, current)
	for i := range c.extra {
		err := u.delete(&c.extra[i])
		if err != nil {
			return err
		}
	}
	return nil
}
func ( u * Updater ) Remove ( ) error { desired , err := u . allDesiredSegments ( ) if err != nil { return err } current , err := u . Client . ListIsolationSegments ( ) if err != nil { return err } c := classify ( desired , current ) for i := range c . extra { err := u . delete ( & c . extra [ i ] ) if err != nil { return err } } return nil }
// Create creates any isolation segments that do not yet exist,
Create creates any isolation segments that do not yet exist