aboutsummaryrefslogtreecommitdiffstats
path: root/storage/transactional/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/transactional/config.go')
-rw-r--r--storage/transactional/config.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/transactional/config.go b/storage/transactional/config.go
index 2fc6583..fec1f28 100644
--- a/storage/transactional/config.go
+++ b/storage/transactional/config.go
@@ -22,6 +22,14 @@ func (c *ConfigStorage) SetConfig(cfg *config.Config) error {
return nil
}
+func (c *ConfigStorage) Config() (*config.Config, error) {
+ if !c.set {
+ return c.ConfigStorer.Config()
+ }
+
+ return c.temporal.Config()
+}
+
func (c *ConfigStorage) Commit() error {
if !c.set {
return nil