mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-04-20 17:47:40 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
897f49a452 | ||
|
4d30dbc2b3 |
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -42,6 +42,9 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-tests-
|
${{ runner.os }}-tests-
|
||||||
|
|
||||||
|
- name: Run linter
|
||||||
|
run: make vet
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: git --no-pager diff --exit-code HEAD~1 HEAD **/**.go templates/ || make tests
|
run: git --no-pager diff --exit-code HEAD~1 HEAD **/**.go templates/ || make tests
|
||||||
|
|
||||||
|
2
fs.go
2
fs.go
@ -43,7 +43,7 @@ func (f BootFS) IsSupported() bool {
|
|||||||
|
|
||||||
func (f BootFS) Validate() error {
|
func (f BootFS) Validate() error {
|
||||||
if !f.IsSupported() {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user