style: 4matting

This commit is contained in:
3wc
2025-09-03 13:33:23 -04:00
parent 117f64a9d6
commit d9f1f82923
4 changed files with 11 additions and 13 deletions

View File

@ -35,7 +35,6 @@ func MergeAbraShEnv(recipe recipe.Recipe, env envfile.AppEnv) error {
return nil return nil
} }
// GetConfigsForStack retrieves all Docker configs attached to services in a given stack. // GetConfigsForStack retrieves all Docker configs attached to services in a given stack.
func GetConfigsForStack(cl *dockerClient.Client, app appPkg.App) (map[string]string, error) { func GetConfigsForStack(cl *dockerClient.Client, app appPkg.App) (map[string]string, error) {
filters, err := app.Filters(false, false) filters, err := app.Filters(false, false)

View File

@ -8,12 +8,12 @@ import (
func TestGetImageNameAndTag(t *testing.T) { func TestGetImageNameAndTag(t *testing.T) {
tests := []struct { tests := []struct {
name string name string
imageName string imageName string
expectedName string expectedName string
expectedTag string expectedTag string
expectError bool expectError bool
description string description string
}{ }{
{ {
name: "standard image with tag", name: "standard image with tag",
@ -67,7 +67,6 @@ func TestGetImageNameAndTag(t *testing.T) {
expectError: true, expectError: true,
description: "should error on empty image name", description: "should error on empty image name",
}, },
} }
for _, tt := range tests { for _, tt := range tests {