Merge pull request #41 from stakater/update-start-controller-log

Update start controller log
This commit is contained in:
Ali Kahoot
2019-01-15 11:46:29 +05:00
committed by GitHub
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func startReloader(cmd *cobra.Command, args []string) {
// Now let's start the controller
stop := make(chan struct{})
defer close(stop)
logrus.Infof("Starting Controller to watch resource type: %s", k)
go c.Run(1, stop)
}
-2
View File
@@ -69,8 +69,6 @@ func (c *Controller) Delete(old interface{}) {
//Run function for controller which handles the queue
func (c *Controller) Run(threadiness int, stopCh chan struct{}) {
logrus.Infof("Starting Controller")
defer runtime.HandleCrash()
// Let the workers stop when we are done