Skip to content

Commit

Permalink
remove debugging line
Browse files Browse the repository at this point in the history
  • Loading branch information
dangra committed Jan 25, 2023
1 parent 0f47ea5 commit 0f4c39e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/command/deploy/machines.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ package deploy

import (
"context"
"encoding/json"
"errors"
"fmt"
"os"
"strconv"
"strings"
"sync"
Expand Down Expand Up @@ -644,9 +642,6 @@ func (md *machineDeployment) DeployMachinesApp(ctx context.Context) error {
for _, m := range md.machineSet.GetMachines() {
launchInput := md.resolveUpdatedMachineConfig(m.Machine())

ss, _ := json.Marshal(launchInput)
os.WriteFile("/tmp/launchinput.json", ss, 0666)

fmt.Fprintf(md.io.ErrOut, " Updating %s\n", md.colorize.Bold(m.FormattedMachineId()))
err := m.Update(ctx, *launchInput)
if err != nil {
Expand Down

0 comments on commit 0f4c39e

Please sign in to comment.