Skip to content

[BUG] 当 远程集群domain 的 AGENT_WATCH_K8S 为空(没有 Agent 上报 cluster-id)时,Server 的 DomainChecker 在检查这个 domain 时遇到 nil 值导致 panic。 #11724

Description

@1648503033jf-web

Search before asking

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

DeepFlow Component

Agent

What you expected to happen

panic: interface conversion: interface {} is nil, not string
at domain.go:1129 checkAndAllocateController

How to reproduce

No response

DeepFlow version

No response

DeepFlow agent list

No response

Kubernetes CNI

No response

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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