Skip to content

Commit

Permalink
Update cmd/goal/node.go
Browse files Browse the repository at this point in the history
Co-authored-by: Will Winder <wwinder.unh@gmail.com>
  • Loading branch information
gmalouf and winder authored Jun 16, 2023
1 parent 5f766d0 commit 02644a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/goal/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ func init() {
createCmd.Flags().BoolVarP(&runUnderHost, "hosted", "H", localDefaults.RunHosted, "Configure the new node to run hosted by algoh")

// The flag for enabling an internal indexer is now deprecated, but we keep it for backwards compatibility for now.
var noopNodeIndexer bool
indexerFlagName := "indexer"
createCmd.Flags().BoolVarP(&noopNodeIndexer, indexerFlagName, "i", false, "")
_ = createCmd.Flags().BoolP(indexerFlagName, "i", false, "")
createCmd.Flags().MarkDeprecated(indexerFlagName, "no longer used, please remove from your scripts")
createCmd.Flags().MarkShorthandDeprecated(indexerFlagName, "no longer used, please remove from your scripts")

Expand Down

0 comments on commit 02644a8

Please sign in to comment.