Skip to content

Commit e2188fc

Browse files
committed
remove local machine names from log files
1 parent 5229e19 commit e2188fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/controller/deploy_functions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (d *Deploy) localDirs(path string) ([]string, error) {
6767
func (d *Deploy) buildFunction(name, funcDir string) error {
6868
bl := shell.NewBufferedLogger()
6969
err := shell.Exec(shell.ExecOptions{
70-
Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc"},
70+
Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc", "--trimpath"},
7171
WorkDir: funcDir,
7272
Logger: bl.Logger(),
7373
ShowExitCode: false,

0 commit comments

Comments
 (0)