Skip to content

bug: upstream.upstreams() returns nil #2934

Closed
@ali-mahdavi-mehr

Description

@ali-mahdavi-mehr

Current Behavior

When we update the upstreams in the dashboard, this value becomes nil.
local upstreams, _ = upstream.upstreams()

Expected Behavior

Since APISIX is real-time, upstreams should be updated as soon as they are updated in the dashboard.

Error Logs

local upstreams, _ = upstream.upstreams()
upstream is a nil value

Steps to Reproduce

1- update the upstreams in the dashboard

Environment

  • APISIX version : 3.8.0
  • APISIX Dashboard version: 3.0.0-alpine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions