Skip to content

[BUG] Crash when attempting to cycle an instance not attached to an ASG/nodegroup. #20

Description

@vincentportella

Describe the bug
Currently if you add a node to cycle in a CNR that isn't attached to an ASG, cyclops crashes because the map of instances generated only includes instances attached to ASGs. When the provider id of the instance is checked in the map, a nil pointer error occurs.

To Reproduce
Apply a CNR with an instance not attached to any ASG.

Expected behavior
Skip the detached instance.

Cyclops Version
v1.0.0, v1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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