Skip to content

Commit 145cc18

Browse files
committed
Logging the wrong variable when debugging the API response
1 parent 55c85f6 commit 145cc18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/aws/albsession/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func NewSession(awsconfig *aws.Config, AWSDebug bool, mc metric.Collector, cc *c
4949
}
5050
} else {
5151
if AWSDebug {
52-
glog.InfoDepth(4, fmt.Sprintf("Response: %s/%s, Body: %s", r.ClientInfo.ServiceName, r.Operation.Name, log.Prettify(r.Body)))
52+
glog.InfoDepth(4, fmt.Sprintf("Response: %s/%s, Body: %s", r.ClientInfo.ServiceName, r.Operation.Name, log.Prettify(r.Data)))
5353
}
5454
}
5555
})

0 commit comments

Comments
 (0)