Update README, remove dublicated lines
This commit is contained in:
		
							parent
							
								
									8433ff96f9
								
							
						
					
					
						commit
						513433d4b1
					
				|  | @ -109,7 +109,7 @@ You may also want to change the PROVISIONER_NAME above from ``fuseim.pri/ifs`` t | ||||||
| 
 | 
 | ||||||
| **Step 5: Deploying your storage class** | **Step 5: Deploying your storage class** | ||||||
| 
 | 
 | ||||||
| ***Paraments:*** | ***paraments:*** | ||||||
| 
 | 
 | ||||||
| | Name | Description |  Default | | | Name | Description |  Default | | ||||||
| |------|-------------|:--------:| | |------|-------------|:--------:| | ||||||
|  |  | ||||||
|  | @ -167,7 +167,6 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error { | ||||||
| 	// If it exists and has a false value, delete the directory.
 | 	// If it exists and has a false value, delete the directory.
 | ||||||
| 	// Otherwise, archive it.
 | 	// Otherwise, archive it.
 | ||||||
| 	archiveOnDelete, exists := storageClass.Parameters["archiveOnDelete"] | 	archiveOnDelete, exists := storageClass.Parameters["archiveOnDelete"] | ||||||
| 	if exists { |  | ||||||
| 	if exists { | 	if exists { | ||||||
| 		archiveBool, err := strconv.ParseBool(archiveOnDelete) | 		archiveBool, err := strconv.ParseBool(archiveOnDelete) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
|  | @ -177,7 +176,6 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error { | ||||||
| 			return os.RemoveAll(oldPath) | 			return os.RemoveAll(oldPath) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	} |  | ||||||
| 
 | 
 | ||||||
| 	archivePath := filepath.Join(mountPath, "archived-"+volume.Name) | 	archivePath := filepath.Join(mountPath, "archived-"+volume.Name) | ||||||
| 	glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath) | 	glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue