From 93783beb1ffae45bfd21a3d2174bc753dd23f039 Mon Sep 17 00:00:00 2001 From: Shonminh Yang Date: Mon, 10 Feb 2020 16:32:44 +0800 Subject: [PATCH] fix EnableRemoteSource bug (#92) --- 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 }