code: func (ssc *StatefulSetController) syncStatefulSet(set *apps.StatefulSet, pods []*v1.Pod) error {
  	klog.V(4).Infof("Syncing StatefulSet %v/%v with %d pods", set.Namespace, set.Name, len(pods))
  	// TODO: investigate where we mutate the set during the update as it is not obvious.
  	if err := ssc.control.UpdateStatefulSet(set.DeepCopy(), pods); err != nil {
  		return err
  	}
  	klog.V(4).Infof("Successfully synced StatefulSet %s/%s successful", set.Namespace, set.Name)
  	return nil
  }
docs: // syncStatefulSet syncs a tuple of (statefulset, []*v1.Pod).