fix: failed to read replication lag: cannot assign NULL to int
Compare changes
We get an error if the sync instance (for some reason) is not in recovery mode, since the request in this case returned NULL.
Fixed:
2022/09/23 18:52:51 retrieval_status.go:108: [WARNING] Failed to fetch replication lag failed to read replication lag: can't scan into dest[0]: cannot assign NULL to *int