Skip to content

Commit a6cb65d

Browse files
committed
tidied up
1 parent 69c41b1 commit a6cb65d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

jamf/jamfprointegration/load_balancer_workaround.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func chooseMostAlphabeticalString(strings []string) string {
4646

4747
// TODO migrate strings
4848
func (j *Integration) getAllLoadBalancers(urlString string) (*[]string, error) {
49-
5049
var outList []string
5150
var err error
5251
var req *http.Request

jamf/jamfprointegration/preprequest.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ import (
2222
// - Checks and refreshes the token if necessary using the Integration's checkRefreshToken method.
2323
// - Adds an "Authorization" header with a Bearer token obtained from the Integration's auth.getTokenString method.
2424
func (j *Integration) prepRequest(req *http.Request) error {
25-
// j.Sugar.Debugw("prepping request", "req", fmt.Sprintf("%+v", req))
26-
2725
req.Header.Add("Accept", j.getAcceptHeader())
2826
req.Header.Add("Content-Type", j.getContentTypeHeader(req.URL.String()))
2927
req.Header.Add("User-Agent", j.getUserAgentHeader())

0 commit comments

Comments
 (0)