We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdacd10 commit 6a6fcc0Copy full SHA for 6a6fcc0
runtimeconfig/manager.go
@@ -3,6 +3,7 @@ package runtimeconfig
3
import (
4
"fmt"
5
"path/filepath"
6
+ "strings"
7
8
"github.com/cloudfoundry/bosh-bootloader/bosh"
9
"github.com/cloudfoundry/bosh-bootloader/fileio"
@@ -90,7 +91,7 @@ func (m Manager) Update(state storage.State) error {
90
91
92
for _, file := range files {
93
name := file.Name()
- if name != "runtime-config.yml" {
94
+ if name != "runtime-config.yml" && strings.HasSuffix(name, ".yml") {
95
opsFiles = append(opsFiles, filepath.Join(dir, name))
96
}
97
0 commit comments