Skip to content

Commit

Permalink
fix: log when starting controller (#262)
Browse files Browse the repository at this point in the history
output log msg to identify the controller and what kind it will be watching for.
  • Loading branch information
alewitt2 authored Nov 8, 2021
1 parent f80cd5f commit 720dae3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async function createNewEventHandler(kc) {
let result;
let resourceMeta = await kc.getKubeResourceMeta('deploy.razee.io/v1alpha2', ControllerString, 'watch');
if (resourceMeta) {
log.info(`Listening for events for deploy.razee.io/v1alpha2: ${ControllerString}`);
let params = {
kubeResourceMeta: resourceMeta,
factory: Controller,
Expand Down

0 comments on commit 720dae3

Please sign in to comment.