config: copy the key on Copy

This commit is contained in:
Mitchell Hashimoto 2015-04-09 09:31:04 -07:00
parent b201983304
commit 06beab6fd8
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ func (r *RawConfig) Copy() *RawConfig {
panic("copy failed: " + err.Error())
}
result.Key = r.Key
return result
}