Skip to content

Commit

Permalink
removed debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronco Oostermeyer committed Sep 3, 2022
1 parent b364b95 commit 1013947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/agentsession.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ func killSession(inst PasInstance, app string, agent model.Agent, sessionId int,
if params.Forced {
untrappable = "1"
}

path := fmt.Sprintf("/oemanager/applications/%v/agents/%v/sessions/%v?terminateOpt=%v", app, agent.AgentId, sessionId, untrappable)
fmt.Printf("DELETE: %v\n", path)
res, err := doRequest("DELETE", inst, path)

if err == nil && res.StatusCode == 200 {
Expand Down

0 comments on commit 1013947

Please sign in to comment.