Skip to content

Commit

Permalink
fix: changed watch function to async
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Sep 20, 2024
1 parent c086026 commit 3fb97db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/watcherutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default abstract class Operator {
const watch = new Watch(this.kubeConfig)
let lastResourceVersion = ''

const startWatch = (resourceVersion?: string): Promise<void> => {
const startWatch = async (resourceVersion?: string): Promise<void> => {
console.log('Starting watch with resourceVersion: ', resourceVersion)
return watch
.watch(
Expand Down

0 comments on commit 3fb97db

Please sign in to comment.