2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-04-20 09:37:40 +00:00

Compare commits

..

2 Commits
v0.3.0 ... main

Author SHA1 Message Date
John Rowley
897f49a452 chore(ci): call linter in ci 2025-04-12 11:28:20 +02:00
John Rowley
4d30dbc2b3 fix: ensure fs error is checked 2025-04-12 11:27:46 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -42,6 +42,9 @@ jobs:
restore-keys: |
${{ runner.os }}-tests-
- name: Run linter
run: make vet
- name: Run tests
run: git --no-pager diff --exit-code HEAD~1 HEAD **/**.go templates/ || make tests

2
fs.go
View File

@ -43,7 +43,7 @@ func (f BootFS) IsSupported() bool {
func (f BootFS) Validate() error {
if !f.IsSupported() {
fmt.Errorf("invalid boot filesystem: %s valid filesystems are: fat32, ext4", f)
return fmt.Errorf("invalid boot filesystem: %s valid filesystems are: fat32, ext4", f)
}
return nil
}