code: func GetOwnerInfo(ctx, logCtx context.Context, elec *concurrency.Election, id string) (string, error) {
  	resp, err := elec.Leader(ctx)
  	if err != nil {
  		// If no leader elected currently, it returns ErrElectionNoLeader.
  		logutil.Logger(logCtx).Info("failed to get leader", zap.Error(err))
  		return "", errors.Trace(err)
  	}
  	ownerID := string(resp.Kvs[0].Value)
  	logutil.Logger(logCtx).Info("get owner", zap.String("ownerID", ownerID))
  	if ownerID != id {
  		logutil.Logger(logCtx).Warn("is not the owner")
  		return "", errors.New("ownerInfoNotMatch")
  	}
  
  	return string(resp.Kvs[0].Key), nil
  }
docs: // GetOwnerInfo gets the owner information.