Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use passed password when create a redis connection #2489

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

nryanov
Copy link
Contributor

@nryanov nryanov commented Aug 13, 2018

Description

Use passed password when create a redis connection

Motivation and Context

Currently, password is ignored when creating a RedisTarget, but in some cases there is a needance in secured connection

Have you tested this? If so, how?

There is no new logic, so, existing tests should cover it

@dlstadther
Copy link
Collaborator

Odd that password would have never been passed to StrictTarget. I haven't used this module before, so here's to hoping that @pbamba (the only other author of redis_store.py) can provide some aid.

If not, then LGTM.

@nryanov
Copy link
Contributor Author

nryanov commented Aug 13, 2018

Probably, it's a typo, because in tests there is also password param (assigned to None, but anyway) which is passed to RedisStore

Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then LGTM

@pbamba
Copy link

pbamba commented Aug 14, 2018

Good catch @Gr1f0n6x! Indeed it was probably a typo back then, from what I remember I didn't use it with authentication. LGTM as well.

@dlstadther dlstadther merged commit 4ab2a90 into spotify:master Aug 14, 2018
dlstadther added a commit to dlstadther/luigi that referenced this pull request Aug 16, 2018
* upstream-master:
  Remove long-deprecated scheduler config variable alternatives (spotify#2491)
  Bump tornado milestone version (spotify#2490)
  Update moto to 1.x milestone version (spotify#2471)
  Use passed password when create a redis connection (spotify#2489)
  S3 client refactor (spotify#2482)
  Rename to rpc_log_retries, and make it apply to all the logging involved
  Factor log_exceptions into a configuration parameter
  Fix attribute forwarding for tasks with dynamic dependencies (spotify#2478)
  Add a visiblity level for luigi.Parameters (spotify#2278)
  Add support for multiple requires and inherits arguments (spotify#2475)
  Add metadata columns to the RDBMS contrib (spotify#2440)
  Fix race condition in luigi.lock.acquire_for (spotify#2357) (spotify#2477)
  tests: Use RunOnceTask where possible (spotify#2476)
  Optional TOML configs support (spotify#2457)
  Added default port behaviour for Redshift (spotify#2474)
  Add codeowners file with default and specific example (spotify#2465)
  Add Data Revenue to the `blogged` list (spotify#2472)
  Fix Scheduler.add_task to overwrite accepts_messages attribute. (spotify#2469)
  Use task_id comparison in Task.__eq__. (spotify#2462)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants