Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Artoul committed Feb 6, 2019
1 parent eaaf43b commit 694ac35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/services/m3dbnode/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ type CommitLogPolicy struct {
QueueChannel *CommitLogQueuePolicy `yaml:"queueChannel"`

// Deprecated. Left in struct to keep old YAMLs parseable.
DeprecatedBlockSize time.Duration `yaml:"blockSize"`
DeprecatedBlockSize *time.Duration `yaml:"blockSize"`
}

// CalculationType is a type of configuration parameter.
Expand Down
1 change: 1 addition & 0 deletions src/cmd/services/m3dbnode/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ func TestConfiguration(t *testing.T) {
calculationType: fixed
size: 2097152
queueChannel: null
blockSize: null
repair:
enabled: false
interval: 2h0m0s
Expand Down

0 comments on commit 694ac35

Please sign in to comment.