Skip to content

Commit

Permalink
Complete comment for NewFileClient (istio#91)
Browse files Browse the repository at this point in the history
This patch completes the comment.
  • Loading branch information
nak3 authored and istio-testing committed Nov 25, 2019
1 parent 4f521de commit 18bbd27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion probe/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ type fileClient struct {
}

// NewFileClient creates an instance of Client based on the file status specified
// in the path. The specified period is the interval of the probe, so if this
// in the path. The specified period is the interval of the probe, so if the last
// modified time is not within the interval, probe controller is not running fine.
func NewFileClient(opt *Options) Client {
return &fileClient{opt: opt, statFunc: os.Stat}
}
Expand Down

0 comments on commit 18bbd27

Please sign in to comment.