Skip to content

Panic with devision by 0 if all pods are ignored #274

@tony-bondarenko

Description

@tony-bondarenko

If all pods are ignored there is division by 0 panic in replica calculation process.

ratioReadyPods := int32(100 * readyPodCount / (len(podList) - len(ignoredPods)))

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