mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-15 11:57:59 +00:00
publish: check if storage exists
This commit is contained in:
+2
-2
@@ -176,10 +176,10 @@ type FileSystemPublishRoot struct {
|
||||
|
||||
type JFrogPublishRoot struct {
|
||||
Repository string `json:"repository" yaml:"repository"`
|
||||
Url string `json:"url" yaml:"url"`
|
||||
URL string `json:"url" yaml:"url"`
|
||||
User string `json:"user" yaml:"user"`
|
||||
Password string `json:"password" yaml:"password"`
|
||||
ApiKey string `json:"apiKey" yaml:"api_key"`
|
||||
APIKey string `json:"apiKey" yaml:"api_key"`
|
||||
AccessToken string `json:"accessToken" yaml:"access_token"`
|
||||
Prefix string `json:"prefix" yaml:"prefix"`
|
||||
PlusWorkaround bool `json:"plusWorkaround" yaml:"plus_workaround"`
|
||||
|
||||
@@ -47,7 +47,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
|
||||
|
||||
s.config.JFrogPublishRoots = map[string]JFrogPublishRoot{"test": {
|
||||
Repository: "repo",
|
||||
Url: "jfrog.example.com"}}
|
||||
URL: "jfrog.example.com"}}
|
||||
|
||||
s.config.S3PublishRoots = map[string]S3PublishRoot{"test": {
|
||||
Region: "us-east-1",
|
||||
|
||||
Reference in New Issue
Block a user