Skip to content

Commit ae0c90b

Browse files
authored
Remove extra logs (#20)
**What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Please check the following list**: - [ ] Does the affected code have corresponding tests, e.g. unit test, E2E test? - [ ] Does this change require a documentation update? - [ ] Does this introduce breaking changes that would require an announcement or bumping the major version? - [ ] Do all new files have an appropriate license header? <!-- If this is a security issue, please do not discuss on GitHub. Please report any suspected or confirmed security issues directly to https://github.com/containerd/accelerated-container-image/blob/main/MAINTAINERS. -->
1 parent 002e404 commit ae0c90b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/snapshot/overlay.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ func NewSnapshotter(bootConfig *BootConfig, opts ...Opt) (snapshots.Snapshotter,
283283

284284
// Stat returns the info for an active or committed snapshot by the key.
285285
func (o *snapshotter) Stat(ctx context.Context, key string) (_ snapshots.Info, retErr error) {
286-
log.G(ctx).Infof("Stat (key: %s)", key)
287286
start := time.Now()
288287
defer func() {
289288
if retErr != nil {
@@ -338,7 +337,6 @@ func (o *snapshotter) Update(ctx context.Context, info snapshots.Info, fieldpath
338337

339338
// Usage returns the resources taken by the snapshot identified by key.
340339
func (o *snapshotter) Usage(ctx context.Context, key string) (_ snapshots.Usage, retErr error) {
341-
log.G(ctx).Infof("Usage (key: %s)", key)
342340
start := time.Now()
343341
defer func() {
344342
if retErr != nil {

0 commit comments

Comments
 (0)