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:
Rohit Jnagal 2015-05-12 06:25:48 +00:00
parent be15e84e83
commit 9eb01a6da1

View File

@ -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 {