Skip to content

fix: Allow config with only remote instances - #1719

Open
selfhoster1312 wants to merge 1 commit into
TwiN:masterfrom
selfhoster1312:fix-config-only-remote
Open

fix: Allow config with only remote instances#1719
selfhoster1312 wants to merge 1 commit into
TwiN:masterfrom
selfhoster1312:fix-config-only-remote

Conversation

@selfhoster1312

@selfhoster1312 selfhoster1312 commented Jul 13, 2026

Copy link
Copy Markdown

Another small PR.

I run gatus on my servers, but i want to have an in-memory session on my laptop with only remote instances. Before this PR, that would fail with: panic: error parsing config: configuration should contain at least one endpoint or suite.

I'm simply checking if there's actually remote instances configured, and if so not triggering the error.

I changed the error name to reflect this and added a small test.

@github-actions github-actions Bot added the bug Something isn't working label Jul 13, 2026
@selfhoster1312
selfhoster1312 force-pushed the fix-config-only-remote branch from ef01174 to be8a33e Compare July 28, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant