Commit f9474a8
committed
Add missing imports: ast, socket, json, statistics
fusion_monitor_util used ast.literal_eval, socket.gethostbyname,
json.loads/JSONDecodeError, and statistics.mean/median without
importing the modules, resulting in NameError failures. Added
the four stdlib imports and reordered import block to stdlib-
first per PEP8.
Used Claude Code for code generation.
Model used: claude-sonnet-4-6.
Change-Id: I63fd8c03f6fdaba6b86f05d95a98d2c3bb4ab96e
Reviewed-on: https://review.couchbase.org/c/TAF/+/245545
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Ritesh Agarwal <ritesh.agarwal@couchbase.com>1 parent d956c20 commit f9474a8
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments