Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Jan 2, 2025
1 parent ce05ffc commit c504969
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ func init() {
rootCmd.AddCommand(resetBlobberStatsCmd)
rootCmd.AddCommand(resetVersionCmd)
rootCmd.AddCommand(insertKilledProviderId)
rootCmd.AddCommand(fixValidatorUrl)

scConfig.Flags().Bool("json", false, "(default false) pass this option to print response as json data")
lsBlobers.Flags().Bool("json", false, "(default false) pass this option to print response as json data")
Expand Down Expand Up @@ -532,4 +533,7 @@ func init() {

insertKilledProviderId.Flags().String("id", "", "blobber_id is required")
insertKilledProviderId.MarkFlagRequired("id")

fixValidatorUrl.Flags().String("validator_id", "", "validator_id is required")
fixValidatorUrl.MarkFlagRequired("validator_id")
}

0 comments on commit c504969

Please sign in to comment.