From 9a21226163b7035e8467e9ea870ee1dc5c41dc6d Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Sun, 18 Oct 2020 15:39:38 +0200 Subject: [PATCH] Fix Delete/delete store config inconsistency --- pkg/codegen/store.go | 2 +- store/actionlog.yaml | 2 +- store/compose_record_values.yaml | 2 +- store/compose_records.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/codegen/store.go b/pkg/codegen/store.go index eb5ec89b0..7bb05c216 100644 --- a/pkg/codegen/store.go +++ b/pkg/codegen/store.go @@ -39,7 +39,7 @@ type ( Create storeTypeCreateDef `yaml:"create"` Update storeTypeUpdateDef `yaml:"update"` Upsert storeTypeUpsertDef `yaml:"upsert"` - Delete storeTypeDeleteDef `yaml:"Delete"` + Delete storeTypeDeleteDef `yaml:"delete"` Truncate storeTypeTruncateDef `yaml:"truncate"` // Make interfaces and store functions diff --git a/store/actionlog.yaml b/store/actionlog.yaml index 03f0a774a..9ef468f4e 100644 --- a/store/actionlog.yaml +++ b/store/actionlog.yaml @@ -42,5 +42,5 @@ update: upsert: enable: false -Delete: +delete: enable: false diff --git a/store/compose_record_values.yaml b/store/compose_record_values.yaml index 7d5d4c248..35dd582f8 100644 --- a/store/compose_record_values.yaml +++ b/store/compose_record_values.yaml @@ -49,7 +49,7 @@ update: upsert: export: false -Delete: +delete: export: false truncate: diff --git a/store/compose_records.yaml b/store/compose_records.yaml index 21273ef39..18798938c 100644 --- a/store/compose_records.yaml +++ b/store/compose_records.yaml @@ -64,7 +64,7 @@ update: upsert: export: false -Delete: +delete: export: false truncate: