Skip to content

Commit 6829623

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 029c517 commit 6829623

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/capabilities/execute-dql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const verifyDqlStatement = async (dtClient: HttpClient, dqlStatement: str
1717
export interface DqlExecutionResult {
1818
records: QueryResult['records'];
1919
metadata: QueryResult['metadata'];
20-
/** Nubmer of Bytes scanned = Bytes Billed */
20+
/** Number of Bytes scanned = Bytes Billed */
2121
scannedBytes?: number;
2222
scannedRecords?: number;
2323
executionTimeMilliseconds?: number;

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ const main = async () => {
484484
result += `\n ⚠️ **High Data Usage Warning:** This query scanned ${scannedGB.toFixed(2)} GB of data, which may impact your Dynatrace consumption.\n`;
485485
} else if (scannedGB > 5) {
486486
result += `\n 💡 **Moderate Data Usage:** This query scanned ${scannedGB.toFixed(2)} GB of data.\n`;
487-
} else if (response.scannedBytes == 0) {
487+
} else if (response.scannedBytes === 0) {
488488
result += `\n 💡 **No Data consumed:** This query did not consume any data.\n`;
489489
}
490490
}

0 commit comments

Comments
 (0)