Skip to content

Commit

Permalink
Incorporate feedback from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Oct 4, 2023
1 parent 724a05b commit feb8e56
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/director.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ func QueryDirector(source string, directorUrl string) (resp *http.Response, err
// Check HTTP response -- should be 307 (redirect), else something went wrong
body, _ := io.ReadAll(resp.Body)
if resp.StatusCode != 307 {
fmt.Printf("\n\n\nresp.StatusCode %d\n\n\n", resp.StatusCode)
var respErr directorResponse
if unmarshalErr := json.Unmarshal(body, &respErr); unmarshalErr != nil { // Error creating json
return nil, errors.Wrap(unmarshalErr, "Could not unmarshall the director's response")
Expand Down

0 comments on commit feb8e56

Please sign in to comment.