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:
+1
-2
@@ -77,8 +77,7 @@ export const KBENCH_STORAGE_CLASS_ANNOTATION = 'tns-csi.headlamp/storage-class';
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function shortId(): string {
|
||||
return Math.random().toString(36)
|
||||
.slice(2, 8);
|
||||
return Math.random().toString(36).slice(2, 8);
|
||||
}
|
||||
|
||||
export function generateJobName(): string {
|
||||
|
||||
@@ -828,7 +828,9 @@ export default function BenchmarkPage() {
|
||||
} catch (err: unknown) {
|
||||
setBenchState({
|
||||
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,
|
||||
pvcName: state.pvcName,
|
||||
});
|
||||
|
||||
@@ -256,19 +256,19 @@ export default function OverviewPage() {
|
||||
},
|
||||
...(pvcStatusCounts.Pending > 0
|
||||
? [
|
||||
{
|
||||
name: 'PVCs (Pending)',
|
||||
value: <StatusLabel status="warning">{pvcStatusCounts.Pending}</StatusLabel>,
|
||||
},
|
||||
]
|
||||
{
|
||||
name: 'PVCs (Pending)',
|
||||
value: <StatusLabel status="warning">{pvcStatusCounts.Pending}</StatusLabel>,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(pvcStatusCounts.Lost > 0
|
||||
? [
|
||||
{
|
||||
name: 'PVCs (Lost)',
|
||||
value: <StatusLabel status="error">{pvcStatusCounts.Lost}</StatusLabel>,
|
||||
},
|
||||
]
|
||||
{
|
||||
name: 'PVCs (Lost)',
|
||||
value: <StatusLabel status="error">{pvcStatusCounts.Lost}</StatusLabel>,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
]}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user