Commit 9eb01a6d authored by Rohit Jnagal's avatar Rohit Jnagal

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.
parent be15e84e
...@@ -77,9 +77,9 @@ func Register(containerCache kubecontainer.RuntimeCache) { ...@@ -77,9 +77,9 @@ func Register(containerCache kubecontainer.RuntimeCache) {
type SyncPodType int type SyncPodType int
const ( const (
SyncPodCreate SyncPodType = iota SyncPodSync SyncPodType = iota
SyncPodUpdate SyncPodUpdate
SyncPodSync SyncPodCreate
) )
func (sp SyncPodType) String() string { func (sp SyncPodType) String() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment