consul-snapshot is a backup and restore utility for Consul (https://www.consul.io). This is slightly different than some other utilities out there as this runs as a daemon for backups and ships them to S3. Also has integrated monitoring and backup health checks.
lastBackup.value will give a "runtime error: invalid memory address or nil pointer dereference" if lastBackup is nil. The http error should just be returned to the caller and stop further processing of the health check.
lastBackup.value will give a "runtime error: invalid memory address or nil pointer dereference" if lastBackup is nil. The http error should just be returned to the caller and stop further processing of the health check.