Skip to content

Commit

Permalink
removed extra log.
Browse files Browse the repository at this point in the history
  • Loading branch information
danomagnum committed Jan 11, 2025
1 parent 6b07538 commit 23545f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ func New(opts ...Option) *Server {
opt(cfg)
}
url := ""
if len(cfg.endpoints) == 0 {
log.Printf("No endpoints defined!")
} else {
if len(cfg.endpoints) != 0 {
url = cfg.endpoints[0]
}

Expand Down

0 comments on commit 23545f7

Please sign in to comment.