diff --git a/server/shared/configFetcher.go b/server/shared/configFetcher.go index 433b578c7..216100a07 100644 --- a/server/shared/configFetcher.go +++ b/server/shared/configFetcher.go @@ -53,7 +53,7 @@ func (cf *configFetcher) Fetch(ctx context.Context) (files []*remote.FileMeta, e continue } - if cf.configExtension.IsConfigured() { + if cf.configExtension != nil && cf.configExtension.IsConfigured() { fetchCtx, cancel := context.WithTimeout(ctx, configFetchTimeout) defer cancel() // ok here as we only try http fetching once, returning on fail and success