Skip to content

Commit c0a097f

Browse files
committed
add comment for 404 response codes
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 6625734 commit c0a097f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fenecon/prober.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func (fp *FeneconProber) initResty() {
5959
case 401:
6060
return errors.New(`fenecon requires authentication or credentials are invalid`)
6161
case 404:
62+
// ignore non existing endpoints
6263
fp.logger.Debugf(`got status 404 for url "%v"`, response.Request.URL)
6364
return nil
6465
case 200:

0 commit comments

Comments
 (0)