Skip to content

Commit 159f575

Browse files
committed
template: dump pod/container count in sync message.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
1 parent bf267e3 commit 159f575

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/template/plugin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ func (p *plugin) Configure(_ context.Context, config, runtime, version string) (
6161
}
6262

6363
func (p *plugin) Synchronize(_ context.Context, pods []*api.PodSandbox, containers []*api.Container) ([]*api.ContainerUpdate, error) {
64-
log.Info("Synchronizing state with the runtime...")
64+
log.Infof("Synchronized state with the runtime (%d pods, %d containers)...",
65+
len(pods), len(containers))
6566
return nil, nil
6667
}
6768

0 commit comments

Comments
 (0)