Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Commit 1b199c2

Browse files
committed
Fix typo in error message ("wwatch")
1 parent 21a65ec commit 1b199c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (w *watcherJSON) Next(r Resource) (string, error) {
6161
return "", fmt.Errorf("decode event: %v", err)
6262
}
6363
if event.Type == "" {
64-
return "", errors.New("wwatch event had no type field")
64+
return "", errors.New("watch event had no type field")
6565
}
6666
if err := json.Unmarshal([]byte(event.Object), r); err != nil {
6767
return "", fmt.Errorf("decode resource: %v", err)

0 commit comments

Comments
 (0)