style: 4matting
This commit is contained in:
@ -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)
|
||||||
|
@ -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 {
|
||||||
|
Reference in New Issue
Block a user