mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-04-20 17:47:40 +00:00
Compare commits
No commits in common. "main" and "v0.3.0" have entirely different histories.
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -42,9 +42,6 @@ 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() {
|
||||||
return fmt.Errorf("invalid boot filesystem: %s valid filesystems are: fat32, ext4", f)
|
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