Skip to content

Commit

Permalink
fix: set user_id and hub_type default value (#1594)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
zzzhangqi authored Dec 31, 2024
1 parent 8ab6890 commit bb78d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions console/models/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,8 @@ class Meta:
username = models.CharField(max_length=255, help_text="username")
password = models.CharField(max_length=255, help_text="password")
region_name = models.CharField(max_length=255, help_text="region_name")
hub_type = models.CharField(max_length=32, help_text="hub type")
user_id = models.IntegerField(max_length=10, help_text="用户ID")
hub_type = models.CharField(max_length=32, help_text="hub type", default="Docker")
user_id = models.IntegerField(max_length=10, help_text="用户ID", default=0)


class RKECluster(BaseModel):
Expand Down

0 comments on commit bb78d51

Please sign in to comment.