(ctx context.Context)
| 137 | } |
| 138 | |
| 139 | func (om *Manager) starting(ctx context.Context) error { |
| 140 | if len(om.cfg.LoadPath) == 0 { |
| 141 | return nil |
| 142 | } |
| 143 | |
| 144 | return errors.Wrap(om.loadConfig(ctx), "failed to load runtime config") |
| 145 | } |
| 146 | |
| 147 | // CreateListenerChannel creates new channel that can be used to receive new config values. |
| 148 | // If there is no receiver waiting for value when config manager tries to send the update, |
nothing calls this directly
no test coverage detected