moby/plugin
Laura Brehm d5c9f26e3d
plugins: fix panic installing from repo w/ digest
Only print the tag when the received reference has a tag, if
we can't cast the received tag to a `reference.Tagged` then
skip printing the tag as it's likely a digest.

Fixes panic when trying to install a plugin from a reference
with a digest such as
`vieux/sshfs@sha256:1d3c3e42c12138da5ef7873b97f7f32cf99fb6edde75fa4f0bcf9ed277855811`

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-02-05 10:12:40 +01:00
..
executor/containerd plugin: Executor.Signal() accept syscall.Signal 2022-05-05 00:53:55 +02:00
v2 plugin: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
backend_linux.go plugin: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
backend_linux_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
backend_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
defs.go goimports: fix imports 2019-09-18 12:56:54 +02:00
errors.go filters: lowercase error 2022-03-18 09:44:53 +01:00
events.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fetch_linux.go plugins: fix panic installing from repo w/ digest 2024-02-05 10:12:40 +01:00
manager.go migrate pkg/pubsub to github.com/moby/pubsub 2022-09-30 22:32:43 +02:00
manager_linux.go plugin: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
manager_linux_test.go plugin: Executor.Signal() accept syscall.Signal 2022-05-05 00:53:55 +02:00
manager_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
manager_windows.go Do not call mount.RecursiveUnmount() on Windows 2020-10-29 23:00:16 +01:00
progress.go Use containerd dist libs for plugin pull/pull 2020-04-02 15:03:06 -07:00
registry.go plugin: add EndpointResolver interface 2022-03-11 18:28:55 +01:00
store.go gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
store_test.go goimports: fix imports 2019-09-18 12:56:54 +02:00