code: func RunOrDie(ctx context.Context, lec LeaderElectionConfig) {
  	le, err := NewLeaderElector(lec)
  	if err != nil {
  		panic(err)
  	}
  	if lec.WatchDog != nil {
  		lec.WatchDog.SetLeaderElection(le)
  	}
  	le.Run(ctx)
  }
docs: // RunOrDie starts a client with the provided config or panics if the config
  // fails to validate.