Commit 376c0b1
Fix Go 1.25 format string errors
## Issue
Go 1.25 has stricter format string checks, causing build failures:
- errors.Wrapf requires ErrorCode as second parameter
- log.Printf requires format string
## Changes
- pkg/store/file/fileStore.go: Added missing errors.StoreError codes (2 locations)
- pkg/store/file/fileStore_test.go: Fixed log.Printf to use format string
## Test Results
✅ pkg/cfg - PASS
✅ pkg/eval - PASS (including fixed certificate tests)
✅ pkg/store/file - PASS
✅ pkg/store/etcd - PASS
❌ pkg/store/mongodb - FAIL (expected: no MongoDB server available)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 9af6045 commit 376c0b1
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments