Skip to content

Commit

Permalink
Merge branch 'v1.0.x' of https://github.com/openebs/maya into v1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mittachaitu committed Jun 8, 2019
2 parents c76a9ff + f8cf647 commit ee76a03
Show file tree
Hide file tree
Showing 77 changed files with 4,643 additions and 1,522 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ifeq (${IMAGE_TAG}, )
endif

ifeq (${TRAVIS_TAG}, )
BASE_TAG = ci
BASE_TAG = v1.0.x-ci
export BASE_TAG
else
BASE_TAG = ${TRAVIS_TAG}
Expand Down
9 changes: 9 additions & 0 deletions cmd/provisioner-localpv/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,12 @@ func GetStorageClassName(pvc *v1.PersistentVolumeClaim) *string {
}
return pvc.Spec.StorageClassName
}

// GetLocalPVType extracts the Local PV Type from PV
func GetLocalPVType(pv *v1.PersistentVolume) string {
casType, found := pv.Labels[string(mconfig.CASTypeKey)]
if found {
return casType
}
return ""
}
163 changes: 0 additions & 163 deletions cmd/provisioner-localpv/app/helper.go

This file was deleted.

Loading

0 comments on commit ee76a03

Please sign in to comment.