Mingrate kube.services to new logger
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
61648602bd
commit
c57375f734
@ -1,13 +1,14 @@
|
||||
const testing = require("../services/mail.services");
|
||||
const log = require("../utils/logs.utils");
|
||||
|
||||
import { logger } from "../utils/logger.utils";
|
||||
|
||||
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" } };
|
||||
}
|
||||
|
||||
async function getReady() {
|
||||
log.out("kubeServices.getReady: ready hook checked", "info");
|
||||
logger.trace("kubeServices.getReady: ready hook checked");
|
||||
testing.send({
|
||||
to: "fred@fjla.uk",
|
||||
subject: "OwlBoard Test",
|
||||
|
Loading…
Reference in New Issue
Block a user