We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7948cb4 commit c56a642Copy full SHA for c56a642
1 file changed
src/apiserver/pkg/registry/file_rest.go
@@ -78,8 +78,7 @@ func NewFileREST(
78
dirWatcher: sharedWatcher,
79
fileWatchers: make(map[string]*fileWatch, 10),
80
}
81
- err = f.startDirWatcher()
82
- if err != nil {
+ if err := f.startDirWatcher(); err != nil {
83
return nil, err
84
85
return f, nil
0 commit comments