code: func GetNewReplicaSet(deployment *apps.Deployment, c appsclient.AppsV1Interface) (*apps.ReplicaSet, error) {
  	rsList, err := ListReplicaSets(deployment, RsListFromClient(c))
  	if err != nil {
  		return nil, err
  	}
  	return FindNewReplicaSet(deployment, rsList), nil
  }
docs: // GetNewReplicaSet returns a replica set that matches the intent of the given deployment; get ReplicaSetList from client interface.
  // Returns nil if the new replica set doesn't exist yet.