summaryrefslogtreecommitdiff
path: root/model/storage.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-05-04 20:48:43 +0200
committerxengineering <me@xengineering.eu>2024-05-04 20:52:02 +0200
commit5c248884afa530bafb7b04dc14c587e3029480f6 (patch)
tree811f48c6c6da6fa837c49bbb38a9f6784e51c118 /model/storage.go
parent5260a38bab0dd77846318802edeb6a7ecd462a56 (diff)
downloadceres-5c248884afa530bafb7b04dc14c587e3029480f6.tar
ceres-5c248884afa530bafb7b04dc14c587e3029480f6.tar.zst
ceres-5c248884afa530bafb7b04dc14c587e3029480f6.zip
Move storage path logging to main() function
The model package where this used to be implemented should not care too much about logging. Furthermore it is easier to compare the log output with the main() function if the log statements are there.
Diffstat (limited to 'model/storage.go')
-rw-r--r--model/storage.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/model/storage.go b/model/storage.go
index 5450c60..c0d155d 100644
--- a/model/storage.go
+++ b/model/storage.go
@@ -30,6 +30,4 @@ func (s *Storage) Init(version string) {
log.Fatal(err)
}
}
-
- log.Printf("Storage directory: %s\n", s.Path)
}