Raise logging level for PV deletion timeout (#3316)
* raised logging level for PV deletion timeout Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com> * add changelog Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>pull/3327/head
parent
9e29e50773
commit
01853826b5
|
@ -0,0 +1 @@
|
|||
Change the logging level of PV deletion timeout from Debug to Warn
|
|
@ -663,7 +663,7 @@ func (ctx *restoreContext) shouldRestore(name string, pvClient client.Dynamic) (
|
|||
})
|
||||
|
||||
if err == wait.ErrWaitTimeout {
|
||||
pvLogger.Debug("timeout reached waiting for persistent volume to delete")
|
||||
pvLogger.Warn("timeout reached waiting for persistent volume to delete")
|
||||
}
|
||||
|
||||
return shouldRestore, err
|
||||
|
|
Loading…
Reference in New Issue