Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #133 from meshery/feat/feat-service-address
Browse files Browse the repository at this point in the history
Replace service address
  • Loading branch information
leecalcote authored Dec 31, 2021
2 parents 99273f4 + e7579b7 commit 2c1646f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func main() {
go registerCapabilities(service.Port, log) //Registering static capabilities
go registerDynamicCapabilities(service.Port, log) //Registering latest capabilities periodically
// Server Initialization
log.Info("Adaptor Listening at port: ", service.Port)
log.Info("Adapter listening on port: ", service.Port)
err = grpc.Start(service, nil)
if err != nil {
log.Error(grpc.ErrGrpcServer(err))
Expand Down Expand Up @@ -126,7 +126,7 @@ func serviceAddress() string {
return svcAddr
}

return "mesherylocal.layer5.io"
return "localhost"
}

func registerCapabilities(port string, log logger.Handler) {
Expand Down

0 comments on commit 2c1646f

Please sign in to comment.