provisioning: dont ignore sample yaml files

closes #10963
This commit is contained in:
bergquist
2018-02-20 08:40:37 +01:00
parent c5461fe2e2
commit 4dc6074e79
7 changed files with 51 additions and 46 deletions
@@ -63,7 +63,7 @@ func (cr *configReader) readConfig() ([]*DashboardsAsConfig, error) {
}
for _, file := range files {
if (!strings.HasSuffix(file.Name(), ".yaml") && !strings.HasSuffix(file.Name(), ".yml")) || file.Name() == "sample.yaml" {
if !strings.HasSuffix(file.Name(), ".yaml") && !strings.HasSuffix(file.Name(), ".yml") {
continue
}