code: func (cc *Controller) setAssignedConfig(source checkpoint.RemoteConfigSource) (bool, string, error) {
  	assigned, err := cc.checkpointStore.Assigned()
  	if err != nil {
  		return false, status.InternalError, err
  	}
  	if err := cc.checkpointStore.SetAssigned(source); err != nil {
  		return false, status.InternalError, err
  	}
  	return !checkpoint.EqualRemoteConfigSources(assigned, source), "", nil
  }
docs: // setAssignedConfig updates the assigned checkpoint config in the store.
  // Returns whether the assigned config changed as a result, or a sanitized failure reason and an error.