Skip to content

Commit e3a1cd3

Browse files
authored
fix: ensure agentResource is non-nil (#2261)
1 parent 8415022 commit e3a1cd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

provisioner/terraform/resources.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ func ConvertResources(module *tfjson.StateModule, rawGraph string) ([]*proto.Res
127127
}
128128
}
129129

130+
if agentResource == nil {
131+
continue
132+
}
133+
130134
agents, exists := resourceAgents[agentResource.Label]
131135
if !exists {
132136
agents = make([]*proto.Agent, 0)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy