Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateObjectMetaUpdate (0.14 sec)

  1. pkg/apis/storagemigration/validation/validation.go

    func ValidateStorageVersionMigrationUpdate(newSVMBundle, oldSVMBundle *storagemigration.StorageVersionMigration) field.ErrorList {
    	allErrs := ValidateStorageVersionMigration(newSVMBundle)
    	allErrs = append(allErrs, apivalidation.ValidateObjectMetaUpdate(&newSVMBundle.ObjectMeta, &oldSVMBundle.ObjectMeta, field.NewPath("metadata"))...)
    
    	// prevent changes to the group, version and resource
    	if newSVMBundle.Spec.Resource.Group != oldSVMBundle.Spec.Resource.Group {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top