(configPath string)
| 665 | } |
| 666 | |
| 667 | func ConfigPath(configPath string) string { |
| 668 | path := constants.DefaultConfigPath |
| 669 | if configPath != "" { |
| 670 | path = configPath |
| 671 | } |
| 672 | |
| 673 | return path |
| 674 | } |
| 675 | |
| 676 | func copyRaw(in map[string]interface{}) (map[string]interface{}, error) { |
| 677 | o, err := yaml.Marshal(in) |
no outgoing calls
no test coverage detected