Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Remove superflous check against state in machine resource
Browse files Browse the repository at this point in the history
  • Loading branch information
DAlperin committed Sep 7, 2022
1 parent 8bbfe3d commit 086f614
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/provider/machine_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,6 @@ func (mr flyMachineResource) Update(ctx context.Context, req resource.UpdateRequ

tfservices := ServicesToTfServices(updatedMachine.Config.Services)

if state.Services == nil {
tfservices = nil
}

state = flyMachineResourceData{
Name: types.String{Value: updatedMachine.Name},
Region: types.String{Value: updatedMachine.Region},
Expand Down

0 comments on commit 086f614

Please sign in to comment.