Skip to content

[Bug] the env var ENV_FE_ELECT_NUMBER is added twice #448

@ztonny

Description

@ztonny

Search before asking

  • I had searched in the issues and found no similar issues.

Version

25.7

What's Wrong?

Image

in function newSpecificEnvs(), the env var ENV_FE_ELECT_NUMBER is already added once, the following code:
if ddc.Spec.FeSpec.ElectionNumber != nil {...} will add it for twice;

What You Expected?

the env is added only once;

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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