newStaffLDB-API #48
@ -1,13 +1,14 @@
|
|||||||
const testing = require("../services/mail.services");
|
const testing = require("../services/mail.services");
|
||||||
const log = require("../utils/logs.utils");
|
|
||||||
|
import { logger } from "../utils/logger.utils";
|
||||||
|
|
||||||
async function getAlive() {
|
async function getAlive() {
|
||||||
log.out("kubeServices.getAlive: alive hook checked", "info");
|
logger.trace("kubeServices.getAlive: alive hook checked")
|
||||||
return { code: 200, state: { state: "alive", noise: "twit-twoo" } };
|
return { code: 200, state: { state: "alive", noise: "twit-twoo" } };
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getReady() {
|
async function getReady() {
|
||||||
log.out("kubeServices.getReady: ready hook checked", "info");
|
logger.trace("kubeServices.getReady: ready hook checked");
|
||||||
testing.send({
|
testing.send({
|
||||||
to: "fred@fjla.uk",
|
to: "fred@fjla.uk",
|
||||||
subject: "OwlBoard Test",
|
subject: "OwlBoard Test",
|
||||||
|
Loading…
Reference in New Issue
Block a user