Skip to content

Commit 1a523af

Browse files
author
Néstor Salceda
authored
fix: Update dashboards to latest API (#177)
1 parent baa385d commit 1a523af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/download_dashboards.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def cleanup_dir(path):
7575
for db in res['dashboards']:
7676
sdclient.save_dashboard_to_file(db, os.path.join(sysdig_dashboard_dir, str(db['id'])))
7777

78-
print(("Name: %s, # Charts: %d" % (db['name'], len(db['widgets']))))
78+
print(("Name: %s" % (db['name'])))
7979

8080
zipf = zipfile.ZipFile(dashboard_state_file, 'w', zipfile.ZIP_DEFLATED)
8181
zipdir(sysdig_dashboard_dir, zipf)

0 commit comments

Comments
 (0)