code: func (c *Cloud) GetLabelsForVolume(ctx context.Context, pv *v1.PersistentVolume) (map[string]string, error) {
  	// Ignore if not AWSElasticBlockStore.
  	if pv.Spec.AWSElasticBlockStore == nil {
  		return nil, nil
  	}
  
  	// Ignore any volumes that are being provisioned
  	if pv.Spec.AWSElasticBlockStore.VolumeID == cloudvolume.ProvisionedVolumeName {
  		return nil, nil
  	}
  
  	spec := KubernetesVolumeID(pv.Spec.AWSElasticBlockStore.VolumeID)
  	labels, err := c.GetVolumeLabels(spec)
  	if err != nil {
  		return nil, err
  	}
  
  	return labels, nil
  }
docs: // GetLabelsForVolume gets the volume labels for a volume