mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-26 09:01:17 +02:00
fix(initramfs): fix printf statement (#250)
This commit is contained in:
parent
ee95933c43
commit
678951b2c1
@ -241,7 +241,7 @@ func (b *BareMetal) Install(data userdata.UserData) error {
|
||||
}
|
||||
|
||||
// Create the device files
|
||||
log.Printf("Reread Partition Table %s - %s\n", dev.Name)
|
||||
log.Printf("Reread Partition Table %s\n", dev.Name)
|
||||
err = dev.BlockDevice.RereadPartitionTable()
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -99,7 +99,7 @@ func TestNewDevice(t *testing.T) {
|
||||
t.Error("Failed to walk dir", err)
|
||||
}
|
||||
|
||||
expected := map[string]interface{}{"talos": nil, "talosdir": nil, "talosfile": nil}
|
||||
expected := map[string]interface{}{"talos": nil, "talosdir": nil, "talosfile": nil, "lala": nil}
|
||||
|
||||
if len(files) != len(expected) {
|
||||
t.Errorf("Did not get back expected number of files - expected %d got %d", len(expected), len(files))
|
||||
|
Loading…
x
Reference in New Issue
Block a user