style: go fmt

This commit is contained in:
Dan Anglin 2021-07-11 19:43:20 +01:00
parent 5e21bf67e8
commit 67fb04b7f1
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 7 additions and 7 deletions

View file

@ -29,12 +29,12 @@ func TestValidConfig(t *testing.T) {
}, },
Services: ServicesConfig{ Services: ServicesConfig{
Traefik: TraefikConfig{ Traefik: TraefikConfig{
CheckNewVersion: true, CheckNewVersion: true,
ContainerIp: "172.17.1.2", ContainerIp: "172.17.1.2",
Domain: "forge.localhost", Domain: "forge.localhost",
LogLevel: "info", LogLevel: "info",
SendAnonymousUsage: false, SendAnonymousUsage: false,
Version: "v2.4.9", Version: "v2.4.9",
}, },
}, },
}, },

View file

@ -64,7 +64,7 @@ func CreateContainer(ctx *pulumi.Context, c DockerContainerInput) error {
for _, v := range c.DockerVolumes { for _, v := range c.DockerVolumes {
arg := docker.ContainerVolumeArgs{ arg := docker.ContainerVolumeArgs{
ContainerPath: v.MountPath, ContainerPath: v.MountPath,
VolumeName: v.Name, VolumeName: v.Name,
} }
volumes = append(volumes, arg) volumes = append(volumes, arg)
} }

View file

@ -8,7 +8,7 @@ import (
) )
type DockerVolumeInput struct { type DockerVolumeInput struct {
Name pulumi.StringInput Name pulumi.StringInput
UniqueLabel string UniqueLabel string
} }