Skip to content

Commit

Permalink
fix double unlock panic
Browse files Browse the repository at this point in the history
  • Loading branch information
cspargo-apptio committed May 5, 2021
1 parent 3d2fec4 commit 587b384
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ func genProcessComponent(cmd *cobra.Command, clusterName string, componentName s
// all component params are in config
allconfig.config = config
} else {
defer allconfig.mu.Unlock()
allconfig.config = renderClusterParams(cmd, clusterName, []string{}, clusterParams, false)
}
}
Expand Down

0 comments on commit 587b384

Please sign in to comment.