Skip to content

Commit

Permalink
fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
0pcom committed Jan 17, 2025
1 parent 3b62436 commit b3e18f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/dmsgweb/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
var (
httpC http.Client
dmsgC *dmsg.Client
dmsgDisc = dmsg.DiscAddr(false)
dmsgDisc = dmsg.DiscAddr(false)
proxyAddr string
dmsgSessions int
dmsgAddr []string
Expand Down
3 changes: 2 additions & 1 deletion pkg/dmsg/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const (
DefaultOfficialDmsgServerType = "official"

DefaultCommunityDmsgServerType = "community"

)

// DmsghttpJSON is dmsghttp-config.json embedded in skywire.DmsghttpJSON
var DmsghttpJSON = skywire.DmsghttpJSON

// DiscAddr returns the address of the dmsg discovery
Expand All @@ -33,6 +33,7 @@ func DiscAddr(testenv bool) string {
return skywire.Prod.DmsgDiscovery
}

// DmsghttpConfig is the struct that corresponds to the json data of the dmsghttp-config.json
type DmsghttpConfig struct {
Test struct {
DmsgServers []struct {
Expand Down

0 comments on commit b3e18f0

Please sign in to comment.