Skip to content

Commit

Permalink
Adds verbosity property in httpPost
Browse files Browse the repository at this point in the history
Signed-off-by: nagesh bansal <[email protected]>
  • Loading branch information
Nageshbansal committed Jan 4, 2024
1 parent 8756026 commit 1e12847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/probe/httpprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func httpPost(probe v1alpha1.ProbeAttributes, client *http.Client, resultDetails
SecondValue(probe.HTTPProbeInputs.Method.Post.ResponseCode).
Criteria(probe.HTTPProbeInputs.Method.Post.Criteria).
ProbeName(probe.Name).
ProbeVerbosity(probe.RunProperties.Verbosity).
CompareInt(cerrors.FailureTypeHttpProbe); err != nil {
log.Errorf("The %v http probe post method has Failed, err: %v", probe.Name, err)
return err
Expand Down

0 comments on commit 1e12847

Please sign in to comment.