(key string)
| 123 | } |
| 124 | |
| 125 | func (m *mergedConfig) ReadTimestamp(key string) (time.Time, error) { |
| 126 | val, err := m.local.ReadTimestamp(key) |
| 127 | if err == nil { |
| 128 | return val, nil |
| 129 | } |
| 130 | if !errors.Is(err, ErrNoConfigEntry) && !errors.Is(err, ErrMultipleConfigEntry) { |
| 131 | return time.Time{}, err |
| 132 | } |
| 133 | return m.global.ReadTimestamp(key) |
| 134 | } |
| 135 | |
| 136 | var _ ConfigWrite = &configPanicWriter{} |
| 137 |
nothing calls this directly
no test coverage detected