format go with gofumpt (with -lang=1.19)
Looks like the linter uses an explicit -lang, which (for go1.19) results in some additional formatting for octal values. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -58,7 +58,7 @@ func services(workingDir, homeDir string) []types.ServiceConfig {
|
||||
Target: "/my_config",
|
||||
UID: "103",
|
||||
GID: "103",
|
||||
Mode: uint32Ptr(0440),
|
||||
Mode: uint32Ptr(0o440),
|
||||
},
|
||||
},
|
||||
ContainerName: "my-web-container",
|
||||
@ -342,7 +342,7 @@ func services(workingDir, homeDir string) []types.ServiceConfig {
|
||||
Target: "my_secret",
|
||||
UID: "103",
|
||||
GID: "103",
|
||||
Mode: uint32Ptr(0440),
|
||||
Mode: uint32Ptr(0o440),
|
||||
},
|
||||
},
|
||||
SecurityOpt: []string{
|
||||
|
||||
Reference in New Issue
Block a user