()
| 2273 | } |
| 2274 | |
| 2275 | func (h *handler) getReplicationStatusOptions() db.ReplicationStatusOptions { |
| 2276 | activeOnly, _ := h.getOptBoolQuery("activeOnly", false) |
| 2277 | localOnly, _ := h.getOptBoolQuery("localOnly", false) |
| 2278 | includeError, _ := h.getOptBoolQuery("includeError", true) |
| 2279 | includeConfig, _ := h.getOptBoolQuery("includeConfig", false) |
| 2280 | return db.ReplicationStatusOptions{ |
| 2281 | ActiveOnly: activeOnly, |
| 2282 | LocalOnly: localOnly, |
| 2283 | IncludeError: includeError, |
| 2284 | IncludeConfig: includeConfig, |
| 2285 | } |
| 2286 | } |
| 2287 | |
| 2288 | func (h *handler) putReplicationStatus() error { |
| 2289 | replicationID := mux.Vars(h.rq)["replicationID"] |
no test coverage detected