From 935ac6e824fa0b4ebf2c45152a4b8a88dac7df9f Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Tue, 21 Apr 2026 14:57:01 +0200 Subject: [PATCH] Do not block --pull-interval flag when using URL gordon ref Signed-off-by: Guillaume Tardif --- cmd/root/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root/api.go b/cmd/root/api.go index 586c39363..62bd8141e 100644 --- a/cmd/root/api.go +++ b/cmd/root/api.go @@ -81,8 +81,8 @@ func (f *apiFlags) runAPICommand(cmd *cobra.Command, args []string) (commandErr } }() - if f.pullIntervalMins > 0 && !config.IsOCIReference(agentsPath) { - return errors.New("--pull-interval flag can only be used with OCI references, not local files") + if f.pullIntervalMins > 0 && !config.IsOCIReference(agentsPath) && !config.IsURLReference(agentsPath) { + return errors.New("--pull-interval flag can only be used with OCI or URL references, not local files") } ln, lnCleanup, err := newListener(ctx, f.listenAddr)