File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 9
9
accessModes :
10
10
- ReadWriteMany
11
11
persistentVolumeReclaimPolicy : Retain # "Delete" is not supported in static provisioning
12
+ mountOptions :
13
+ - -o allow_other
14
+ - --file-cache-timeout-in-seconds=120
12
15
csi :
13
16
driver : blobfuse.csi.azure.com
14
17
readOnly : false
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ exitHandler() (
34
34
)
35
35
trap exitHandler EXIT
36
36
37
- # perform go get in a temp dir as we are not tracking this version in a go module
38
- # if we do the go get in the repo, it will create / update a go.mod and go.sum
39
- cd " ${TMP_DIR} "
40
- GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/client9/misspell/cmd/misspell@${TOOL_VERSION} "
41
- export PATH=" ${TMP_DIR} :${PATH} "
37
+ if [[ -z " $( command -v misspell) " ]]; then
38
+ echo " Cannot find misspell. Installing misspell..."
39
+ # perform go get in a temp dir as we are not tracking this version in a go module
40
+ # if we do the go get in the repo, it will create / update a go.mod and go.sum
41
+ cd " ${TMP_DIR} "
42
+ GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/client9/misspell/cmd/misspell@${TOOL_VERSION} "
43
+ export PATH=" ${TMP_DIR} :${PATH} "
44
+ fi
42
45
cd " ${ROOT} "
43
46
44
47
# check spelling
You can’t perform that action at this time.
0 commit comments