fix: apply prettier formatting to pass CI format check

Three files had formatting inconsistencies causing the format:check
CI step to fail on main since 2026-03-04.

Fixes #3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gandalf the Greybeard
2026-03-07 16:55:19 +00:00
parent 441b5792f4
commit 29f19e2346
3 changed files with 14 additions and 13 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ export const KBENCH_STORAGE_CLASS_ANNOTATION = 'tns-csi.headlamp/storage-class';
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
function shortId(): string { function shortId(): string {
return Math.random().toString(36) return Math.random().toString(36).slice(2, 8);
.slice(2, 8);
} }
export function generateJobName(): string { export function generateJobName(): string {
+3 -1
View File
@@ -828,7 +828,9 @@ export default function BenchmarkPage() {
} catch (err: unknown) { } catch (err: unknown) {
setBenchState({ setBenchState({
status: 'failed', status: 'failed',
error: `Cleanup error: ${err instanceof Error ? err.message : String(err)}`, error: `Cleanup error: ${
err instanceof Error ? err.message : String(err)
}`,
jobName: state.jobName, jobName: state.jobName,
pvcName: state.pvcName, pvcName: state.pvcName,
}); });