From 06beab6fd88339eb86260521e2ade3e73dfe69c5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 9 Apr 2015 09:31:04 -0700 Subject: [PATCH] config: copy the key on Copy --- config/raw_config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/raw_config.go b/config/raw_config.go index a238e99a26..d51578e0bc 100644 --- a/config/raw_config.go +++ b/config/raw_config.go @@ -58,6 +58,7 @@ func (r *RawConfig) Copy() *RawConfig { panic("copy failed: " + err.Error()) } + result.Key = r.Key return result }