datasource as cfg: improve name for this feature

This commit is contained in:
bergquist
2017-11-15 14:30:32 +01:00
parent ba4bbd1d47
commit c9bfa781fd
3 changed files with 35 additions and 14 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ var (
ErrInvalidConfigToManyDefault = errors.New("datasource.yaml config is invalid. Only one datasource can be marked as default")
)
func Init(configPath string) error {
func Apply(configPath string) error {
dc := NewDatasourceConfiguration()
return dc.applyChanges(configPath)
}