Rename config option to endpoint. #15

This commit is contained in:
Andrey Smirnov
2014-07-28 15:01:51 +04:00
parent a18011bdc0
commit 2c470c1535
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type ConfigStructure struct {
DownloadSourcePackages bool `json:"downloadSourcePackages"`
PpaDistributorID string `json:"ppaDistributorID"`
PpaCodename string `json:"ppaCodename"`
S3PublishRoots map[string]S3PublishRoot `json:"S3PublishRoots"`
S3PublishRoots map[string]S3PublishRoot `json:"S3PublishEndpoints"`
}
// S3PublishRoot describes single S3 publishing entry point
+1 -1
View File
@@ -58,7 +58,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
" \"downloadSourcePackages\": false,\n"+
" \"ppaDistributorID\": \"\",\n"+
" \"ppaCodename\": \"\",\n"+
" \"S3PublishRoots\": {\n"+
" \"S3PublishEndpoints\": {\n"+
" \"test\": {\n"+
" \"region\": \"us-east-1\",\n"+
" \"bucket\": \"repo\",\n"+