Commit 99cd6851 authored by ibuler's avatar ibuler

[Bugfix] 默认default cluster

parent 7e23d2c2
......@@ -25,7 +25,7 @@ def default_cluster():
cluster, created = Cluster.objects.get_or_create(
defaults=defaults, name=name
)
return cluster
return cluster.id
class Asset(models.Model):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment