func (s *StateStore) upsertDeploymentUpdates(index uint64, updates []*structs.DeploymentStatusUpdate, txn *memdb.Txn) error {
	for _, u := range updates {
		if err := s.updateDeploymentStatusImpl(index, u, txn); err != nil {
			return err
		}
	}

	return nil
}
// upsertDeploymentUpdates updates the deployments given the passed status
// updates.
upsertDeploymentUpdates updates the deployments given the passed status
updates.
// upsertDeploymentUpdates updates the deployments given the passed status // updates .
func (s *StateStore) upsertDeploymentUpdates(index uint64, updates []*structs.DeploymentStatusUpdate, txn *memdb.Txn) error {
	for _, u := range updates {
		if err := s.updateDeploymentStatusImpl(index, u, txn); err != nil {
			return err
		}
	}
	return nil
}
func ( s * StateStore ) upsertDeploymentUpdates ( index uint64 , updates [ ] * structs . DeploymentStatusUpdate , txn * memdb . Txn ) error { for _ , u := range updates { if err := s . updateDeploymentStatusImpl ( index , u , txn ) ; err != nil { return err } } return nil }
upsertDeploymentUpdates updates the deployments given the passed status
updates.
upsertDeploymentUpdates updates the deployments given the passed status updates .