Skip to content

Commit f096780

Browse files
committed
remove topic flag from crawl command
1 parent 1d461e6 commit f096780

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/ads/crawl.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ var adsCrawlFlags = []cli.Flag{
6262
Aliases: []string{"q"},
6363
},
6464
timeoutFlag,
65-
topicFlag,
6665
}
6766

6867
func adsCrawlAction(ctx context.Context, cmd *cli.Command) error {
@@ -74,7 +73,6 @@ func adsCrawlAction(ctx context.Context, cmd *cli.Command) error {
7473
provClient, err := adpub.NewClient(*addrInfo,
7574
adpub.WithDeleteAfterRead(true),
7675
adpub.WithEntriesDepthLimit(0),
77-
adpub.WithTopicName(cmd.String("topic")),
7876
adpub.WithHttpTimeout(cmd.Duration("timeout")))
7977
if err != nil {
8078
return err

0 commit comments

Comments
 (0)