Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateMigrationAnnotations (0.19 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	// copy of the volume and sometimes return a ref to the original
    	claimClone := claim.DeepCopy()
    	logger := klog.FromContext(ctx)
    	modified := updateMigrationAnnotations(logger, ctrl.csiMigratedPluginManager, ctrl.translator, claimClone.Annotations, true)
    	if !modified {
    		return claimClone, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller_test.go

    				ann := tc.volumeAnnotations
    				updateMigrationAnnotations(logger, cmpm, translator, ann, false)
    				if !reflect.DeepEqual(tc.expVolumeAnnotations, ann) {
    					t.Errorf("got volume annoations: %v, but expected: %v", ann, tc.expVolumeAnnotations)
    				}
    			}
    			if tc.claimAnnotations != nil {
    				ann := tc.claimAnnotations
    				updateMigrationAnnotations(logger, cmpm, translator, ann, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top