terraform: add panic in impossible case

pull/26/head
Mitchell Hashimoto 12 years ago
parent 7bd7e4218f
commit c6f049ffc6

@ -478,6 +478,9 @@ func graphAddProviderConfigs(g *depgraph.Graph, c *config.Config) {
break
}
}
if pc == nil {
panic("pc not found")
}
pcNoun = &depgraph.Noun{
Name: fmt.Sprintf("provider.%s", pcName),

Loading…
Cancel
Save