mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user