style: go fmt
This commit is contained in:
parent
5e21bf67e8
commit
67fb04b7f1
3 changed files with 7 additions and 7 deletions
|
@ -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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type DockerVolumeInput struct {
|
type DockerVolumeInput struct {
|
||||||
Name pulumi.StringInput
|
Name pulumi.StringInput
|
||||||
UniqueLabel string
|
UniqueLabel string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue