Commit 26b85d7
fix: fix missing seed.json on startup by renaming file (#75)
Renamed `data/seed_2025_05_16.json` to `data/seed.json` and updated `Dockerfile`
## Motivation and Context
When cloning the repository and building the project using:
```bash
go build ./cmd/registry
.\\registry.exe
```
the application fails to start because the default seed file path
(`data/seed.json`) does not exist in the repo:
```
Failed to read seed file: failed to read file: open data/seed.json: The system cannot find the file specified.
```
## How Has This Been Tested?
```bash
go build ./cmd/registry
.\\registry.exe // ./registry
```
## Breaking Changes
None
## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [ ] I have added appropriate error handling
- [ ] I have added or updated documentation as needed
Co-authored-by: Adam Jones <[email protected]>1 parent 4f62964 commit 26b85d7
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
File renamed without changes.
0 commit comments