Skip to content

Commit

Permalink
chore: change naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
jlehtimaki committed Oct 30, 2023
1 parent 248f8b9 commit 839bdaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (cc IBCCollector) Collect(ch chan<- prometheus.Metric) {
[]string{(*cc.RPCs)[path.Chain2.ChainName].ChainID, path.Chain2.ClientID, (*cc.RPCs)[path.Chain1.ChainName].ChainID, status}...,
)

stuckPackets, err := ibc.GetChannelInfo(path, cc.RPCs)
stuckPackets, err := ibc.GetChannelsInfo(path, cc.RPCs)
if err != nil {
status = errorStatus

Expand Down
2 changes: 1 addition & 1 deletion pkg/ibc/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func GetClientsInfo(ibc *relayer.IBCdata, rpcs *map[string]config.RPC) (ClientsI
return clientsInfo, nil
}

func GetChannelInfo(ibc *relayer.IBCdata, rpcs *map[string]config.RPC) (ChannelsInfo, error) {
func GetChannelsInfo(ibc *relayer.IBCdata, rpcs *map[string]config.RPC) (ChannelsInfo, error) {
ctx := context.Background()
channelInfo := ChannelsInfo{}

Expand Down

0 comments on commit 839bdaa

Please sign in to comment.