diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 19:25:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 19:25:43 +0100 |
commit | e01cefff9826589b77bd34464301f196112d68f7 (patch) | |
tree | 44b32dfc7727c957ce7e364c6dc631ba8d76a4a5 /bridge/core/bridge.go | |
parent | 67c82f4a2d683e746df5f8af9e0725acd252d29d (diff) | |
parent | 8ffe2a9b03f5d489e12d2d4d2677bbe67a1b53d7 (diff) | |
download | git-bug-e01cefff9826589b77bd34464301f196112d68f7.tar.gz |
Merge pull request #247 from MichaelMure/bridge-origin
bridge: move keyOrigin to core package
Diffstat (limited to 'bridge/core/bridge.go')
-rw-r--r-- | bridge/core/bridge.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go index e419ed77..a3133b9c 100644 --- a/bridge/core/bridge.go +++ b/bridge/core/bridge.go @@ -20,8 +20,8 @@ var ErrImportNotSupported = errors.New("import is not supported") var ErrExportNotSupported = errors.New("export is not supported") const ( - KeyTarget = "target" - KeyOrigin = "origin" + ConfigKeyTarget = "target" + MetaKeyOrigin = "origin" bridgeConfigKeyPrefix = "git-bug.bridge" ) @@ -102,7 +102,7 @@ func LoadBridge(repo *cache.RepoCache, name string) (*Bridge, error) { return nil, err } - target := conf[KeyTarget] + target := conf[ConfigKeyTarget] bridge, err := NewBridge(repo, target, name) if err != nil { return nil, err |