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 Sep 26, 2024
1 parent 0d49388 commit e0b7b0e
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 e0b7b0e

Please sign in to comment.