hub: gofmt -w on 22 files, formatting only, no behaviour change (R-1160)
This commit is contained in:
1 parent
db2371c6f5
commit
d5e3c8b0d9
22 files changed
+81
-73
No files matched your search
@@ -34,8 +34,8 @@ func TestR723_ANewBoxIsNotARecovery(t *testing.T) {
|
||||
if sc.GetState("c1") != "down" {
|
||||
t.Fatalf("setup: want down, got %q", sc.GetState("c1"))
|
||||
}
|
||||
hostFor(t, st, path, 2*time.Minute) // the new box enrolled 2 min ago
|
||||
saveReportAged(t, st, path, "ok", 0) // …and reported
|
||||
hostFor(t, st, path, 2*time.Minute) // the new box enrolled 2 min ago
|
||||
saveReportAged(t, st, path, "ok", 0) // …and reported
|
||||
sc.Check()
|
||||
if len(*events) != 0 {
|
||||
t.Fatalf("a new box's first report emitted %v", *events)
|
||||
|
||||
@@ -104,7 +104,7 @@ func TestStorageFill_BornPersistent(t *testing.T) {
|
||||
func TestStorageFill_RootExcluded(t *testing.T) {
|
||||
st := newDiskStore(t)
|
||||
saveStorageReport(t, st,
|
||||
stTarget{"local", "local", "", 96}, // PVE builtin local = root-backed → excluded by Type
|
||||
stTarget{"local", "local", "", 96}, // PVE builtin local = root-backed → excluded by Type
|
||||
stTarget{"rootmnt", "local-dir", "/", 96}, // a target literally at "/" → excluded by mount path
|
||||
)
|
||||
var types []string
|
||||
|
||||
Reference in new issue
Block a user