dragonflyoss/Dragonfly2

manager console:Error and unfriendly message when deleting cluster

Closed this issue · 1 comments

Bug report:

image

Request:

Request URL:
https://dragonfly-manager-internal.cnc.xxx.com/api/v1/clusters/4
Request Method:
DELETE
Status Code:
500 Internal Server Error

Response:
{"message":"scheduler cluster exists scheduler"}

Expected behavior:

How to reproduce it:

Environment:

  • Dragonfly version: v2.1.0
  • OS:
  • Kernel (e.g. uname -a):
  • Others:

The current version is too low, this problem has been fixed in the new version.