Skip to content

Access mode of VolumesRW incorrectly deserialized #205

@cjellick

Description

@cjellick

Given an inspect containing this:

    "VolumesRW": {
      "/foo": true,
      "/bar": true,
      "/baz": false
    },

VolumesRW will not be deserialized correctly. The accessMode on the /baz volume will be set to rw instead of ro.

So, this logic doesn't work:

return Volume.parse(field.getKey());

It needs to take the value into account, not just the key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions