Skip to content

Commit b8442b1

Browse files
committed
remove commented-out code
Signed-off-by: Eric Promislow <epromislow@suse.com>
1 parent 9b2469e commit b8442b1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/menu/tray.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ export class Tray extends EventEmitter {
8484
if (!kubeconfigPath) {
8585
throw new Error('No kubeconfig path found');
8686
}
87-
// Add a delay before starting the file system watcher to avoid hitting a lock on the file
88-
// that is taking a while to be cleared.
89-
// setTimeout(() => {
90-
// Maybe the file exists now...
9187
this.buildFromConfig(kubeconfigPath);
9288
const watcher = fs.watch(kubeconfigPath);
9389

@@ -101,7 +97,6 @@ export class Tray extends EventEmitter {
10197
}
10298
this.buildFromConfig(kubeconfigPath);
10399
});
104-
// }, 1000);
105100

106101
this.on('k8s-check-state', this.k8sStateChanged.bind(this));
107102
this.on('settings-update', this.settingsChanged.bind(this));

0 commit comments

Comments
 (0)