fix spell error & add travis build
This commit is contained in:
		
							parent
							
								
									8bb44ce813
								
							
						
					
					
						commit
						c916b18425
					
				|  | @ -12,4 +12,4 @@ | ||||||
| - check the folder and file "SUCCESS" created | - check the folder and file "SUCCESS" created | ||||||
| - `kubectl delete -f deploy/test-pod.yaml` | - `kubectl delete -f deploy/test-pod.yaml` | ||||||
| - `kubectl delete -f deploy/test-claim.yaml` | - `kubectl delete -f deploy/test-claim.yaml` | ||||||
| - check the folder renamed to `archieve-???` | - check the folder renamed to `archived-???` | ||||||
|  |  | ||||||
|  | @ -94,7 +94,7 @@ func (p *nfsProvisioner) Delete(volume *v1.PersistentVolume) error { | ||||||
| 	path := volume.Spec.PersistentVolumeSource.NFS.Path | 	path := volume.Spec.PersistentVolumeSource.NFS.Path | ||||||
| 	pvName := filepath.Base(path) | 	pvName := filepath.Base(path) | ||||||
| 	oldPath := filepath.Join(mountPath, pvName) | 	oldPath := filepath.Join(mountPath, pvName) | ||||||
| 	archivePath := filepath.Join(mountPath, "archieved-"+pvName) | 	archivePath := filepath.Join(mountPath, "archived-"+pvName) | ||||||
| 	glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath) | 	glog.V(4).Infof("archiving path %s to %s", oldPath, archivePath) | ||||||
| 	return os.Rename(oldPath, archivePath) | 	return os.Rename(oldPath, archivePath) | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ spec: | ||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|         - name: nfs-client-provisioner |         - name: nfs-client-provisioner | ||||||
|           image: quay.io/jackieli/nfs-client-provisioner:v1 |           image: quay.io/external_storage/nfs-client-provisioner:v1 | ||||||
|           volumeMounts: |           volumeMounts: | ||||||
|             - name: nfs-client-root |             - name: nfs-client-root | ||||||
|               mountPath: /persistentvolumes |               mountPath: /persistentvolumes | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue