From dd65c3bc5b8df799c096f1a419b6ec8c0c28a1e3 Mon Sep 17 00:00:00 2001 From: Shonminh Date: Mon, 10 Feb 2020 16:20:56 +0800 Subject: [PATCH] fix EnableRemoteSource bug --- archaius.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archaius.go b/archaius.go index 051ac190..a0607154 100755 --- a/archaius.go +++ b/archaius.go @@ -141,6 +141,9 @@ func EnableRemoteSource(remoteSource string, ci *RemoteInfo) error { return err } err = manager.AddSource(s) + if err != nil { + return err + } configServerRunning = true return nil }