Skip to content

if container.id=None, delete() fails silently #93

@msherman64

Description

@msherman64

sometimes, container.submit() will not set container.id, but will leave a zun container entry.
This is most common when creating the container fails, or is interrupted.

In this case, if container.delete() is called to clean up the partial entry, it simply returns None and is a no-op.

The expected behavior would be to either:

  1. delete the matching failed container entry, OR
  2. explicitly return an error message instead of failing silently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions