File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,12 +154,12 @@ func (assistant *BareMetalLoadBalancedCookieAssistant) ProcessResponseMetadata(h
154154
155155type DisabledCookieAssistant struct {}
156156
157- func (assistant * DisabledCookieAssistant ) Metadata (_ MetadataProvider ) (string , error ) {
157+ func (* DisabledCookieAssistant ) Metadata (_ MetadataProvider ) (string , error ) {
158158 return "" , nil
159159}
160160
161161func (* DisabledCookieAssistant ) RealMetadata () metadata.MD {
162162 return metadata .Pairs ()
163163}
164164
165- func (* DisabledCookieAssistant ) ProcessResponseMetadata (header metadata.MD ) {}
165+ func (* DisabledCookieAssistant ) ProcessResponseMetadata (metadata.MD ) {}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func main() {
2828
2929 response , err := explorerClient .FetchValidator (ctx , validatorAddress )
3030 if err != nil {
31- log .Fatalf ("Failed to fetch validator: %v" , err )
31+ log .Panicf ("Failed to fetch validator: %v" , err )
3232 }
3333
3434 fmt .Println ("Validator:" )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func main() {
2828
2929 response , err := explorerClient .FetchValidatorUptime (ctx , validatorAddress )
3030 if err != nil {
31- log .Fatalf ("Failed to fetch validator uptime: %v" , err )
31+ log .Panicf ("Failed to fetch validator uptime: %v" , err )
3232 }
3333
3434 fmt .Println ("Validator uptime:" )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func main() {
2828
2929 response , err := explorerClient .FetchRelayers (ctx , marketIds )
3030 if err != nil {
31- log .Fatalf ("Failed to fetch relayers: %v" , err )
31+ log .Panicf ("Failed to fetch relayers: %v" , err )
3232 }
3333
3434 fmt .Println ("Relayers:" )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func main() {
3131
3232 response , err := explorerClient .FetchBankTransfers (ctx , req )
3333 if err != nil {
34- log .Fatalf ("Failed to fetch bank transfers: %v" , err )
34+ log .Panicf ("Failed to fetch bank transfers: %v" , err )
3535 }
3636
3737 fmt .Println ("Bank transfers:" )
You can’t perform that action at this time.
0 commit comments