Skip to content

Commit

Permalink
set FileCheckFrequency default properly
Browse files Browse the repository at this point in the history
  • Loading branch information
sjenning committed Jun 29, 2018
1 parent b8d718c commit ef60ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/server/kubernetes/node/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func ComputeKubeletFlags(startingArgs map[string][]string, options configapi.Nod
imageTemplate.Latest = options.ImageConfig.Latest

path := ""
var fileCheckInterval int64
fileCheckInterval := int64(20)
if options.PodManifestConfig != nil {
path = options.PodManifestConfig.Path
fileCheckInterval = options.PodManifestConfig.FileCheckIntervalSeconds
Expand Down

0 comments on commit ef60ac0

Please sign in to comment.