Skip to content

Commit 47a8a8e

Browse files
Merge pull request #540 from typeid/fix_nil-ptr
Fix: access to clusterdeployment before defining it
2 parents c8858d6 + 7d3ad5f commit 47a8a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/investigations/cannotretrieveupdatessre/cannotretrieveupdatessre.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type Investigation struct{}
2020
// Run executes the investigation for the CannotRetrieveUpdatesSRE alert
2121
func (c *Investigation) Run(rb investigation.ResourceBuilder) (investigation.InvestigationResult, error) {
2222
result := investigation.InvestigationResult{}
23-
r, err := rb.WithAwsClient().Build()
23+
r, err := rb.WithAwsClient().WithClusterDeployment().Build()
2424
if err != nil {
2525
return result, err
2626
}

0 commit comments

Comments
 (0)