-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: versiondb config item not exists in sdk 0.50 (#1387)
* Problem: store.streamers not exists in sdk 0.50 Solution: - use dedicated versiondb config section to prepare to sdk 0.50 integration Update CHANGELOG.md Signed-off-by: yihuang <[email protected]> cleanup * fix upgrade test * update readme
- Loading branch information
Showing
8 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package cmd | ||
|
||
type VersionDBConfig struct { | ||
// Enable defines if the versiondb should be enabled. | ||
Enable bool `mapstructure:"enable"` | ||
} | ||
|
||
func DefaultVersionDBConfig() VersionDBConfig { | ||
return VersionDBConfig{ | ||
Enable: false, | ||
} | ||
} | ||
|
||
var DefaultVersionDBTemplate = ` | ||
[versiondb] | ||
# Enable defines if the versiondb should be enabled. | ||
enable = {{ .VersionDB.Enable }} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters