File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,12 @@ func (c *echServerConfig) startWatcher() error {
9797 if err != nil {
9898 return err
9999 }
100+ err = c .watcher .Start ()
101+ if err != nil {
102+ return err
103+ }
100104 c .watcher = watcher
101- return c . watcher . Start ()
105+ return nil
102106}
103107
104108func (c * echServerConfig ) credentialsUpdated (path string ) error {
Original file line number Diff line number Diff line change @@ -106,8 +106,12 @@ func (c *STDServerConfig) startWatcher() error {
106106 if err != nil {
107107 return err
108108 }
109+ err = c .watcher .Start ()
110+ if err != nil {
111+ return err
112+ }
109113 c .watcher = watcher
110- return c . watcher . Start ()
114+ return nil
111115}
112116
113117func (c * STDServerConfig ) certificateUpdated (path string ) error {
You can’t perform that action at this time.
0 commit comments