Skip to content

Commit eea97cc

Browse files
authored
fix: add small print for debug
Signed-off-by: Boris Glimcher <[email protected]>
1 parent cb997e9 commit eea97cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sztp-agent/pkg/secureagent/utils.go

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ func (a *Agent) doTLSRequest(input string, url string, empty bool) (*BootstrapSe
5050
var postResponse BootstrapServerPostOutput
5151
var errorResponse BootstrapServerErrorOutput
5252

53+
log.Println("[DEBUG] Sending to: " + url)
54+
log.Println("[DEBUG] Sending input: " + input)
55+
5356
body := strings.NewReader(input)
5457
r, err := http.NewRequest(http.MethodPost, url, body)
5558
if err != nil {

0 commit comments

Comments
 (0)