Skip to content

Commit

Permalink
Ignore files that start with '.' when processing a config dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhuff committed Jun 24, 2014
1 parent 568631e commit 4f714dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func (kl *Kubelet) extractFromFile(name string) (api.ContainerManifest, error) {
func (kl *Kubelet) extractFromDir(name string) ([]api.ContainerManifest, error) {
var manifests []api.ContainerManifest

files, err := filepath.Glob(filepath.Join(name, "*"))
files, err := filepath.Glob(filepath.Join(name, "[^.]*"))
if err != nil {
return manifests, err
}
Expand Down

0 comments on commit 4f714dd

Please sign in to comment.