Skip to content

Commit

Permalink
Adapt to new wrangle signal context
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
  • Loading branch information
mudler committed Mar 23, 2022
1 parent 2462aba commit fb8b600
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/ros-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
package main

import (
"context"
"flag"
"os"

Expand All @@ -33,7 +32,7 @@ var (
func main() {
flag.Parse()
logrus.Info("Starting controller")
ctx := signals.SetupSignalHandler(context.Background())
ctx := signals.SetupSignalContext()

if os.Getenv("NAMESPACE") != "" {
*namespace = os.Getenv("NAMESPACE")
Expand Down

0 comments on commit fb8b600

Please sign in to comment.