mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 01:41:02 +02:00
fix finding address of function return
This commit is contained in:
@@ -33,7 +33,8 @@ func NewBuildArgs(args []string) *BuildArgs {
|
||||
if len(s) == 1 {
|
||||
argsFromOptions[s[0]] = nil
|
||||
} else {
|
||||
argsFromOptions[s[0]] = &strings.Join(s[1:], "=")
|
||||
s := strings.Join(s[1:], "=")
|
||||
argsFromOptions[s[0]] = &s
|
||||
}
|
||||
}
|
||||
return &BuildArgs{
|
||||
|
||||
Reference in New Issue
Block a user