moby/daemon/graphdriver/zfs
Sebastiaan van Stijn 3f935d0e2c
daemon/graphdriver/zfs: use strings.Cut, and refactor
Fixes a (theoretical?) panic if ID would be shorter than 12
characters. Also trim the ID _after_ cutting off the suffix.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-21 11:09:03 +01:00
..
MAINTAINERS zfs: add myself to MAINTAINERS 2015-05-08 17:48:20 +02:00
zfs.go daemon/graphdriver: use strconv instead of fmt.Sprintf 2022-10-08 17:41:35 +02:00
zfs_freebsd.go daemon/graphdriver/zfs: use strings.Cut, and refactor 2022-12-21 11:09:03 +01:00
zfs_linux.go Standardized log messages accross the different storage drivers. 2018-03-27 14:37:30 +02:00
zfs_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
zfs_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00