Skip to content

Commit

Permalink
add comment for 404 response codes
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
  • Loading branch information
mblaschke committed Nov 10, 2023
1 parent 6625734 commit c0a097f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fenecon/prober.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func (fp *FeneconProber) initResty() {
case 401:
return errors.New(`fenecon requires authentication or credentials are invalid`)
case 404:
// ignore non existing endpoints
fp.logger.Debugf(`got status 404 for url "%v"`, response.Request.URL)
return nil
case 200:
Expand Down

0 comments on commit c0a097f

Please sign in to comment.