mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Make SyncPodSync as the default SyncPodType.
We would like the default to be sync instead of create to easily differentiate create operations in empty metrics map.
This commit is contained in:
parent
be15e84e83
commit
9eb01a6da1
@ -77,9 +77,9 @@ func Register(containerCache kubecontainer.RuntimeCache) {
|
||||
type SyncPodType int
|
||||
|
||||
const (
|
||||
SyncPodCreate SyncPodType = iota
|
||||
SyncPodSync SyncPodType = iota
|
||||
SyncPodUpdate
|
||||
SyncPodSync
|
||||
SyncPodCreate
|
||||
)
|
||||
|
||||
func (sp SyncPodType) String() string {
|
||||
|
Loading…
Reference in New Issue
Block a user