Files
podman/test/e2e
Jakob Meier 163bdf2df8 quadlet: fix runtime error for invalid Mount value
If the `Mount` option inside a quadlet is missing the source=... part,
the code today panics with the following message.

```
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/containers/podman/v5/pkg/systemd/quadlet.handleStorageSource(0xc000140de0?, 0x1d?, {0x0?, 0x1?}, 0x5634e39e233e?, 0x10?)
...
```

This commit checks for the missing source and returns an error to avoid the panic.

Signed-off-by: Jakob Meier <mail@jakobmeier.ch>
2025-09-04 21:46:01 +02:00
..
2025-03-31 12:30:43 -07:00
2025-03-21 17:46:47 +01:00
2024-09-03 15:14:15 +02:00
2025-02-06 00:39:51 +01:00
2024-09-03 15:14:15 +02:00
2025-08-06 22:34:18 +03:00