Skip to content

Commit ac9abe4

Browse files
committed
fix: don't panic
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 6b85cfa commit ac9abe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisioner/terraform/executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func (e *executor) plan(ctx, killCtx context.Context, env, vars []string, logr l
311311
// When a prebuild claim attempt is made, log a warning if a resource is due to be replaced, since this will obviate
312312
// the point of prebuilding if the expensive resource is replaced once claimed!
313313
var (
314-
isPrebuildClaimAttempt = !destroy && metadata.PrebuildClaimForUserId != ""
314+
isPrebuildClaimAttempt = !destroy && metadata.GetPrebuildClaimForUserId() != ""
315315
reps []*proto.ResourceReplacements
316316
)
317317
if count := len(replacements); count > 0 && isPrebuildClaimAttempt {

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