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

Upate user command fails #672

Closed
thomas-vogels opened this issue Mar 7, 2022 · 1 comment · Fixed by #673
Closed

Upate user command fails #672

thomas-vogels opened this issue Mar 7, 2022 · 1 comment · Fixed by #673

Comments

@thomas-vogels
Copy link
Contributor

Describe the bug
Running update_user fails with:

2022-03-07 21:44:54 - CRITICAL - Something terrible happened:
Traceback (most recent call last):
  File "/opt/src/arthur-redshift-etl/python/etl/commands.py", line 64, in execute_or_bail
    yield
  File "/opt/src/arthur-redshift-etl/python/etl/commands.py", line 175, in run_arg_as_command
    args.func(args)
  File "/opt/src/arthur-redshift-etl/python/etl/commands.py", line 764, in callback
    args.username,
AttributeError: 'Namespace' object has no attribute 'username'

To Reproduce
Run: arthur.py update_user --group etl_ro tom
(You can pick any user name.)

Expected behavior
The user should be added to the given group.

@thomas-vogels
Copy link
Contributor Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant