Skip to content

Commit

Permalink
template: dump pod/container count in sync message.
Browse files Browse the repository at this point in the history
Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Oct 10, 2024
1 parent bf267e3 commit f6cc628
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/template/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ func (p *plugin) Configure(_ context.Context, config, runtime, version string) (
}

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

Expand Down

0 comments on commit f6cc628

Please sign in to comment.