(runtime *app.Runtime)
| 192 | } |
| 193 | |
| 194 | func configureRuntimeSecrets(runtime *app.Runtime) error { |
| 195 | if err := configureRuntimeLayout(runtime, config.PathKindConfig, config.PathKindData); err != nil { |
| 196 | return err |
| 197 | } |
| 198 | if runtime.Config == nil { |
| 199 | runtime.Config = config.NewConfigStore(runtime.Layout) |
| 200 | runtime.ConfigManaged = true |
| 201 | } |
| 202 | return nil |
| 203 | } |
| 204 | |
| 205 | func configureRuntimeLayout(runtime *app.Runtime, kinds ...config.PathKind) error { |
| 206 | if err := hydrateRuntimeLayoutFromConfig(runtime); err != nil { |
no test coverage detected