diff --git a/command/graph.go b/command/graph.go index 47c61b227..440dd74da 100644 --- a/command/graph.go +++ b/command/graph.go @@ -111,13 +111,6 @@ func (c *GraphCommand) Run(args []string) int { return 1 } - defer func() { - err := opReq.StateLocker.Unlock(nil) - if err != nil { - c.Ui.Error(err.Error()) - } - }() - // Determine the graph type graphType := terraform.GraphTypePlan if plan != nil {