Skip to content

Commit

Permalink
Merge pull request #120 from BuddhiWathsala/master
Browse files Browse the repository at this point in the history
Change state.persistence to statePersistence
  • Loading branch information
mohanvive authored Dec 4, 2019
2 parents 16a0e34 + 470e778 commit e108871
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
volumeMode: Filesystem

runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/example-stateful-distributed-log-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
volumeMode: Filesystem

runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/example-stateful-distributed-nats-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
volumeMode: Filesystem

runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/example-stateful-monolithic-log-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
volumeMode: Filesystem

runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/example-stateful-tcp-nats-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
volumeMode: Filesystem

runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion docs/spec-guide-v1alpha2.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Internally Siddhi operator has been using Siddhi runner deployments to deploy ev

```yaml
runner: |
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/siddhiprocess/deploymanager/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type StatePersistence struct {

// Config contains the siddhi config block
type Config struct {
StatePersistence StatePersistence `yaml:"state.persistence"`
StatePersistence StatePersistence `yaml:"statePersistence"`
}

// CreateLabels creates labels for each deployment
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/siddhiprocess/deploymanager/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
// which used to change the deployment.yaml file of the siddhi-runner image.
const (
StatePersistenceConf string = `
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

const (
StatePersistenceConf string = `
state.persistence:
statePersistence:
enabled: true
intervalInMin: 1
revisionsToKeep: 2
Expand Down

0 comments on commit e108871

Please sign in to comment.