community.docker/plugins
patchback[bot] 35de5b3c37
fix(community.docker.docker_volume): labels can be none (#702) (#704)
* fix(community.docker.docker_volume): labels can be none

catch case where volume labels can are done (default) eg:

$ docker volume inspect foo
[
    {
        "CreatedAt": "2023-11-11T12:55:23+01:00",
        "Driver": "local",
        "Labels": null,
        "Mountpoint": "/var/lib/docker/volumes/foo/_data",
        "Name": "foo",
        "Options": {},
        "Scope": "local"
    }
]

* Update plugins/modules/docker_volume.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* add(community.docker.docker_volume): changelog fragment

* Update changelogs/fragments/702-docker-volume-label-none.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4c220c4d74)

Co-authored-by: Alexander Jähnel <alexanderjaehnel@gmail.com>
2023-11-12 12:03:29 +01:00
..
connection [stable-2] Remove unneccessary imports (#579) 2023-02-09 16:09:00 +01:00
doc_fragments Normalize booleans in all other plugins and modules. (#440) (#443) 2022-08-10 21:46:13 +02:00
inventory More true/false normalization. (#597) (#598) 2023-03-06 22:36:33 +01:00
module_utils [stable-2] Ignore more unnecessary import warnings (#587) 2023-02-12 22:32:02 +01:00
modules fix(community.docker.docker_volume): labels can be none (#702) (#704) 2023-11-12 12:03:29 +01:00
plugin_utils Move common utility code to plugins.module_utils.util (#390) 2022-06-20 18:39:13 +02:00