clean up s3 bucket references

This commit is contained in:
chrislu
2025-07-01 08:41:53 -07:00
parent 1defee3d68
commit 5c2b2e5513
14 changed files with 26 additions and 617 deletions

View File

@@ -130,13 +130,13 @@ func (s *AdminServer) ShowOverview(c *gin.Context) {
// S3 Bucket Management Handlers
// ShowS3Buckets displays the S3 buckets management page
// ShowS3Buckets displays the Object Store buckets management page
func (s *AdminServer) ShowS3Buckets(c *gin.Context) {
username := c.GetString("username")
buckets, err := s.GetS3Buckets()
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to get S3 buckets: " + err.Error()})
c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to get Object Store buckets: " + err.Error()})
return
}