Skip to content

Commit

Permalink
update dmsg for use dmsgcurl instead dmsgget
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Oct 18, 2023
1 parent 16664e3 commit eabcfb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/address-resolver/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ var RootCmd = &cobra.Command{
go dmsghttp.UpdateServers(ctx, dClient, dmsgDisc, dmsgDC, logger)

go func() {
if err := dmsghttp.ListenAndServe(ctx, pk, sk, arAPI, dClient, dmsg.DefaultDmsgHTTPPort, config, dmsgDC, logger); err != nil {
if err := dmsghttp.ListenAndServe(ctx, sk, arAPI, dClient, dmsg.DefaultDmsgHTTPPort, dmsgDC, logger); err != nil {
logger.Errorf("dmsghttp.ListenAndServe: %v", err)
cancel()
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/route-finder/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ var RootCmd = &cobra.Command{
go dmsghttp.UpdateServers(ctx, dClient, dmsgDisc, dmsgDC, logger)

go func() {
if err := dmsghttp.ListenAndServe(ctx, pk, sk, rfAPI, dClient, dmsg.DefaultDmsgHTTPPort, config, dmsgDC, logger); err != nil {
if err := dmsghttp.ListenAndServe(ctx, sk, rfAPI, dClient, dmsg.DefaultDmsgHTTPPort, dmsgDC, logger); err != nil {
logger.Errorf("dmsghttp.ListenAndServe: %v", err)
cancel()
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/transport-discovery/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ var RootCmd = &cobra.Command{
go dmsghttp.UpdateServers(ctx, dClient, dmsgDisc, dmsgDC, logger)

go func() {
if err := dmsghttp.ListenAndServe(ctx, pk, sk, tpdAPI, dClient, dmsg.DefaultDmsgHTTPPort, config, dmsgDC, logger); err != nil {
if err := dmsghttp.ListenAndServe(ctx, sk, tpdAPI, dClient, dmsg.DefaultDmsgHTTPPort, dmsgDC, logger); err != nil {
logger.Errorf("dmsghttp.ListenAndServe: %v", err)
cancel()
}
Expand Down

0 comments on commit eabcfb0

Please sign in to comment.