Skip to content

Commit

Permalink
remove local machine names from log files
Browse files Browse the repository at this point in the history
  • Loading branch information
ianic committed Dec 1, 2021
1 parent 5229e19 commit e2188fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/controller/deploy_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (d *Deploy) localDirs(path string) ([]string, error) {
func (d *Deploy) buildFunction(name, funcDir string) error {
bl := shell.NewBufferedLogger()
err := shell.Exec(shell.ExecOptions{
Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc"},
Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc", "--trimpath"},
WorkDir: funcDir,
Logger: bl.Logger(),
ShowExitCode: false,
Expand Down

0 comments on commit e2188fc

Please sign in to comment.