Skip to content

Commit 2d36d9e

Browse files
authored
Merge pull request #67 from cdapio/bugfix/PPR-Bugfixes
Set proper default value when local.data.dir is not specified
2 parents 5573752 + c1e69ca commit 2d36d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/cdapmaster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func ApplyDefaults(resource interface{}) {
130130

131131
// Set the default local data directory if it is not set in cdap-cr.
132132
if _, ok := spec.Config[confLocalDataDirKey]; !ok {
133-
spec.Config[confLocalDataDirKey] = spec.Config[confLocalDataDirVal]
133+
spec.Config[confLocalDataDirKey] = confLocalDataDirVal
134134
}
135135

136136
// Disable explore

0 commit comments

Comments
 (0)