(configPath string)
| 64 | } |
| 65 | |
| 66 | func sharedStartupConfigKey(configPath string) string { |
| 67 | key := filepath.Base(configPath) |
| 68 | if key == "." || key == string(filepath.Separator) || key == "" { |
| 69 | return "duckgres.yaml" |
| 70 | } |
| 71 | return key |
| 72 | } |
| 73 | |
| 74 | func (p *K8sWorkerPool) validateSharedStartupConfigMap(ctx context.Context) error { |
| 75 | if p.configMap == "" { |
no outgoing calls
no test coverage detected