fix
This commit is contained in:
@@ -183,7 +183,7 @@ func (s *SummaryService) Summary(c *gin.Context) (*HomepageSummary, error) {
|
|||||||
Name: policy.Name,
|
Name: policy.Name,
|
||||||
Type: policy.Type,
|
Type: policy.Type,
|
||||||
Used: int64(usedSpace),
|
Used: int64(usedSpace),
|
||||||
Total: policy.MaxSize, // 使用策略的最大空间限制
|
Total: int64(policy.MaxSize), // 确保类型一致
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user