You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
cli service_level_objective show does not work.
To Reproduce
Steps to reproduce the behavior:
Use the cli tool with dogshell service_level_objective show <slo_id>
Error shown:
Traceback (most recent call last):
File "/Users/user/.pyenv/versions/3.11.10/bin/dogshell", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/user/.pyenv/versions/3.11.10/lib/python3.11/site-packages/datadog/dogshell/__init__.py", line 109, in main
args.func(args)
File "/Users/user/.pyenv/versions/3.11.10/lib/python3.11/site-packages/datadog/dogshell/service_level_objective.py", line 326, in _show
if args.string_ids:
^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'string_ids'
Expected behavior
the SLO with correct id is displayed.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
dogshell v0.50.2
python v3.11
Additional context
Removing the lines below will fix the issue:
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Describe the bug
cli service_level_objective show does not work.
To Reproduce
Steps to reproduce the behavior:
dogshell service_level_objective show <slo_id>
Expected behavior
the SLO with correct id is displayed.
Screenshots
![Image](https://private-user-images.githubusercontent.com/87658627/396378855-6c38bcc4-4f08-45fd-8285-4f3b20489c28.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NDg5ODIsIm5iZiI6MTczOTU0ODY4MiwicGF0aCI6Ii84NzY1ODYyNy8zOTYzNzg4NTUtNmMzOGJjYzQtNGYwOC00NWZkLTgyODUtNGYzYjIwNDg5YzI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE1NTgwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwM2U4NmE1YTZiY2MwYTkwNzk2ODFkYzYwNGIyOThmNjljZDEyZTdhOWM3Mzg0YmNhZGUwOTY0MGM0MGVhMzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cgcgd4EZZAohZ3wAk2GnpAFipVP25vYtKum8QV7xbSk)
If applicable, add screenshots to help explain your problem.
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
Additional context
Removing the lines below will fix the issue:
datadogpy/datadog/dogshell/service_level_objective.py
Lines 326 to 327 in d375ea0
The text was updated successfully, but these errors were encountered: