Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 598863c

Browse files
committed
satellite/eventing/changestream: set func config as noflag
Fixes the `invalid field type` error when mud resolves dependencies during the change-stream binary run. Change-Id: I9fb01c1c1dfd6e6e634da854c5ded7d90e44049e
1 parent 82d5da8 commit 598863c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

satellite/eventing/changestream/service.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ import (
1919

2020
// Config holds configuration for the changestream service.
2121
type Config struct {
22-
Feedname string `help:"the (spanner) name of the changestream to listen on" default:"bucket_eventing"`
23-
TestNewPublisherFn func() (EventPublisher, error)
22+
Feedname string `help:"the (spanner) name of the changestream to listen on" default:"bucket_eventing"`
23+
24+
TestNewPublisherFn func() (EventPublisher, error) `noflag:"true"`
2425
}
2526

2627
// Service implements a changestream processing service.

0 commit comments

Comments
 (0)