Merge pull request #15991 from rook/mergify/bp/release-1.17/pr-15989
rbdmirror: fix the nil point error check during status updates (backport #15989)
This commit is contained in:
1 file changed
+1
-1
@@ -112,7 +112,7 @@ func (c *mirrorChecker) CheckMirroringHealth() error {
|
||||
}
|
||||
|
||||
// On success
|
||||
if mirrorStatus.Summary != nil {
|
||||
if mirrorStatus != nil {
|
||||
c.UpdateStatusMirroring(mirrorStatus.Summary, mirrorInfo, snapSchedStatus, "")
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user