Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

Commit 0ece4bc

Browse files
committed
fix logs
1 parent 2b16551 commit 0ece4bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cvmfs/cvmfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ type Config struct {
3636

3737
func NewFilesystem(ctx context.Context, root string, config *Config) (snapshot.FileSystem, error) {
3838
var absolutePath string
39-
defer log.G(ctx).WithField("root", root).WithField("absolutePath", absolutePath).Info("Mounting new filesystem")
4039
mountedLayersMap := make(map[string]string)
4140
if config.AbsoluteMountpoint == "" {
4241
repository := config.Repository
@@ -47,6 +46,7 @@ func NewFilesystem(ctx context.Context, root string, config *Config) (snapshot.F
4746
} else {
4847
absolutePath = config.AbsoluteMountpoint
4948
}
49+
log.G(ctx).WithField("root", root).WithField("absolutePath", absolutePath).Info("Mounting new filesystem")
5050
return &filesystem{fsAbsoluteMountpoint: absolutePath, mountedLayers: mountedLayersMap}, nil
5151
}
5252

script/config/etc/containerd/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ version = 2
1616
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler]
1717
runtime_type = "io.containerd.runc.v2"
1818

19-
# Use stargz snapshotter
19+
# Use cvmfs snapshotter
2020
[proxy_plugins]
2121
[proxy_plugins.cvmfs-snapshotter]
2222
type = "snapshot"

0 commit comments

Comments
 (0)