Skip to content

Can't create config object #3110

@Josh-Klassen-Dejero

Description

@Josh-Klassen-Dejero

Much like #2025 the config model is failing to create a new object due to 'name' KeyError

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "docker\models\configs.py", line 10, in __repr__
    return f"<{self.__class__.__name__}: '{self.name}'>"
  File "docker\models\configs.py", line 14, in name
    return self.attrs['Spec']['Name']

This #2793 appears to be the fix that was implemented and should likely be implements for configs as well (if not other models that might have this issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions