code: func (g *Orchestrator) updateService(service *api.Service) {
  	var constraints []constraint.Constraint
  
  	if service.Spec.Task.Placement != nil && len(service.Spec.Task.Placement.Constraints) != 0 {
  		constraints, _ = constraint.Parse(service.Spec.Task.Placement.Constraints)
  	}
  
  	g.globalServices[service.ID] = globalService{
  		Service:     service,
  		constraints: constraints,
  	}
  }
docs: // updateService updates g.globalServices based on the current service value