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

Datadog: destroy dashboard operation failing #1141

Merged
merged 1 commit into from May 7, 2019

Conversation

HMazen
Copy link

@HMazen HMazen commented May 7, 2019

Destroying a Datadog dashboard fails because of a None (yet successful) API call response.

$ nixops destroy -d foo --include Standard-Dashboard

Standard-Dashboard> deleting datadog timeboard ‘cb-mfm-ort-dr Dashboard’...
Traceback (most recent call last):
...
  File "/nix/store/5845kjhkh1nr6jvvjimfmjkfrhhgn974-nixops-1.6.1pre0_abcdef/lib/python2.7/site-packages/nixops/resources/datadog-timeboard.py", line 134, in _destroy
AttributeError: 'NoneType' object has no attribute 'keys'

Returning a None object with no JSON formatting seems to be a normal behavior in the Datadog API client.

@domenkozar domenkozar merged commit 145349e into NixOS:master May 7, 2019
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.

None yet

2 participants