should allow one default datasource per organisation using provisioning

This commit is contained in:
Marcus Efraimsson
2018-08-14 14:48:14 +02:00
parent e521e7b76d
commit aed89b49c0
4 changed files with 45 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ import (
)
var (
ErrInvalidConfigToManyDefault = errors.New("datasource.yaml config is invalid. Only one datasource can be marked as default")
ErrInvalidConfigToManyDefault = errors.New("datasource.yaml config is invalid. Only one datasource per organization can be marked as default")
)
func Provision(configDirectory string) error {