Function
cloneExtensionsConfig
(src aghconfig.ExtensionsConfig)
Source from the content-addressed store, hash-verified
| 107 | } |
| 108 | |
| 109 | func cloneExtensionsConfig(src aghconfig.ExtensionsConfig) aghconfig.ExtensionsConfig { |
| 110 | cloned := src |
| 111 | cloned.Resources.AllowedKinds = append([]resources.ResourceKind(nil), src.Resources.AllowedKinds...) |
| 112 | return cloned |
| 113 | } |
| 114 | |
| 115 | func cloneAutomationConfig(src aghconfig.AutomationConfig) aghconfig.AutomationConfig { |
| 116 | cloned := src |
Tested by
no test coverage detected