- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewPV (0.02 sec)
-
pkg/registry/core/persistentvolume/strategy.go
newPv.Status.LastPhaseTransitionTime = oldPv.Status.LastPhaseTransitionTime case oldPv.Status.Phase != newPv.Status.Phase && (newPv.Status.LastPhaseTransitionTime == nil || newPv.Status.LastPhaseTransitionTime.Equal(oldPv.Status.LastPhaseTransitionTime)): // phase changed and client didn't set or didn't change the transition time now := NowFunc() newPv.Status.LastPhaseTransitionTime = &now } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 03:58:36 UTC 2023 - 7.6K bytes - Viewed (0)