mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
etcd: fix db config and test
fix unit test for adapted config file
This commit is contained in:
@@ -40,7 +40,6 @@ type ConfigStructure struct { // nolint: maligned
|
||||
LogLevel string `json:"logLevel"`
|
||||
LogFormat string `json:"logFormat"`
|
||||
ServeInAPIMode bool `json:"serveInAPIMode"`
|
||||
DatabaseEtcd string `json:"databaseEtcd"`
|
||||
DatabaseBackend DBConfig `json:"databaseBackend"`
|
||||
}
|
||||
|
||||
|
||||
@@ -144,10 +144,10 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
|
||||
" \"logLevel\": \"info\",\n"+
|
||||
" \"logFormat\": \"json\",\n"+
|
||||
" \"serveInAPIMode\": false,\n"+
|
||||
" \"databaseEtcd\": \"\",\n"+
|
||||
" \"databaseBackend\": {\n"+
|
||||
" \"type\": \"\",\n"+
|
||||
" \"url\": \"\"\n"+
|
||||
" \"url\": \"\",\n"+
|
||||
" \"dbPath\": \"\"\n" +
|
||||
" }\n"+
|
||||
"}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user