fix: Update test version fallback and fix lint warnings #64

This commit is contained in:
rcourtman 2025-10-13 15:50:23 +00:00
parent 07bd996150
commit 6475ba8374
4 changed files with 4 additions and 4 deletions

View file

@ -652,7 +652,7 @@ export const DockerHosts: Component<DockerHostsProps> = (props) => {
if (alert.level === 'critical') criticalCount++;
else if (alert.level === 'warning') warningCount++;
});
} catch (e) {
} catch (_e) {
// Ignore errors
}
});

View file

@ -39,7 +39,7 @@ export function LegacySSHBanner() {
// Log banner impression for telemetry (removal criteria tracking)
console.info('[Migration] Legacy SSH banner shown to user');
}
} catch (error) {
} catch (_error) {
// Silently fail - health check failures shouldn't break the UI
}
});

View file

@ -139,7 +139,7 @@ export function UpdateProgressModal(props: UpdateProgressModalProps) {
console.log('Backend healthy after websocket reconnect, reloading...');
window.location.reload();
}
} catch (error) {
} catch (_error) {
console.warn('Health check failed after websocket reconnect, will keep trying');
}
}, 1000);

View file

@ -530,7 +530,7 @@ func readExpectedVersion(t *testing.T) string {
data, err := os.ReadFile(versionPath)
if err != nil {
// Fall back to the hard-coded fallback in version manager
return "4.22.0"
return "4.24.0-rc.1"
}
return strings.TrimSpace(string(data))
}