diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-24 17:21:24 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-24 17:21:24 +0200 |
commit | c86e7231b223d532e26ab5449715c65b6b4e3fde (patch) | |
tree | 8d863617aad2dce304b266cd1e493d7ba5c4690f /bridge/core/interfaces.go | |
parent | 2282cbb595ff5cc603d11645ddc833d70de9ad9d (diff) | |
download | git-bug-c86e7231b223d532e26ab5449715c65b6b4e3fde.tar.gz |
bridge: validate config before use
Diffstat (limited to 'bridge/core/interfaces.go')
-rw-r--r-- | bridge/core/interfaces.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/core/interfaces.go b/bridge/core/interfaces.go index 5ead3c8f..79b75606 100644 --- a/bridge/core/interfaces.go +++ b/bridge/core/interfaces.go @@ -15,6 +15,9 @@ type BridgeImpl interface { // for future use Configure(repo repository.RepoCommon) (Configuration, error) + // ValidateConfig check the configuration for error + ValidateConfig(conf Configuration) error + // Importer return an Importer implementation if the import is supported Importer() Importer |