From 1b220e8f4444719452e410dcc1fd51d2cb3a7608 Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 3 Feb 2026 18:12:35 +0000 Subject: [PATCH] style(deploy): fix gofmt formatting Co-Authored-By: Claude Opus 4.5 --- internal/cmd/deploy/cmd_deploy.go | 6 +++--- pkg/ansible/types.go | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/internal/cmd/deploy/cmd_deploy.go b/internal/cmd/deploy/cmd_deploy.go index a26f988f..df2d81e9 100644 --- a/internal/cmd/deploy/cmd_deploy.go +++ b/internal/cmd/deploy/cmd_deploy.go @@ -44,10 +44,10 @@ var appsCmd = &cobra.Command{ } var dbsCmd = &cobra.Command{ - Use: "databases", - Short: "List Coolify databases", + Use: "databases", + Short: "List Coolify databases", Aliases: []string{"dbs", "db"}, - RunE: runListDatabases, + RunE: runListDatabases, } var servicesCmd = &cobra.Command{ diff --git a/pkg/ansible/types.go b/pkg/ansible/types.go index 79fe0543..5a6939f6 100644 --- a/pkg/ansible/types.go +++ b/pkg/ansible/types.go @@ -109,11 +109,11 @@ type Task struct { // LoopControl controls loop behavior. type LoopControl struct { - LoopVar string `yaml:"loop_var,omitempty"` - IndexVar string `yaml:"index_var,omitempty"` - Label string `yaml:"label,omitempty"` - Pause int `yaml:"pause,omitempty"` - Extended bool `yaml:"extended,omitempty"` + LoopVar string `yaml:"loop_var,omitempty"` + IndexVar string `yaml:"index_var,omitempty"` + Label string `yaml:"label,omitempty"` + Pause int `yaml:"pause,omitempty"` + Extended bool `yaml:"extended,omitempty"` } // TaskResult holds the result of executing a task. @@ -137,9 +137,9 @@ type Inventory struct { // InventoryGroup represents a group in inventory. type InventoryGroup struct { - Hosts map[string]*Host `yaml:"hosts,omitempty"` + Hosts map[string]*Host `yaml:"hosts,omitempty"` Children map[string]*InventoryGroup `yaml:"children,omitempty"` - Vars map[string]any `yaml:"vars,omitempty"` + Vars map[string]any `yaml:"vars,omitempty"` } // Host represents a host in inventory.