sensu / sensu-go-chef

Chef Library Cookbook for Sensu Go
https://sensu.io
MIT License
11 stars 22 forks source link

adding a returns to the backend init #83

Closed tarcinil closed 4 years ago

tarcinil commented 4 years ago

fixes #82

Pull Request Checklist

fixes #82

General

Purpose

This allows the sensu-backend init to accept a return code of 3 as an acceptable return. It is returned by the application when the backend is already init'd. As Sensu Go does not have a status endpoint for the init, it is not possible to idempotently check, so they return 3 as the alternative.

majormoses commented 4 years ago

@tarcinil thanks for the fix!