Skip to content

Commit

Permalink
Revert "Log client baseURL"
Browse files Browse the repository at this point in the history
  • Loading branch information
almirmcunhajr authored Jul 3, 2024
1 parent b332151 commit e8e4c0a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions azuredevops/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"errors"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"reflect"
Expand Down Expand Up @@ -79,9 +78,6 @@ func NewClientWithOptions(connection *Connection, baseUrl string, options ...Cli
for _, fn := range options {
fn(client)
}

log.Println("Created client with baseURL", client.baseUrl)

return client
}

Expand Down
3 changes: 0 additions & 3 deletions azuredevops/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"context"
"crypto/tls"
"encoding/base64"
"log"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -64,10 +63,8 @@ func (connection *Connection) GetClientByResourceAreaId(ctx context.Context, res
}
var client *Client
if resourceAreaInfo != nil {
log.Println("resourceAreaInfo is not nil")
client = connection.GetClientByUrl(*resourceAreaInfo.LocationUrl)
} else {
log.Println("resourceAreaInfo is nil")
// resourceAreaInfo will be nil for on prem servers
client = connection.GetClientByUrl(connection.BaseUrl)
}
Expand Down

0 comments on commit e8e4c0a

Please sign in to comment.