Skip to content

Commit

Permalink
fix nil pointer panic when test playbook cannot be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jul 7, 2024
1 parent 5acc916 commit 8ba4667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/coordinator/test/descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func LoadTestDescriptors(ctx context.Context, globalVars types.Variables, localT

testConfig, testVars, err := LoadExternalTestConfig(ctx, globalVars, extTestCfg)

if testConfig.ID != "" {
if testConfig != nil && testConfig.ID != "" {
testID = testConfig.ID
}

Expand Down

0 comments on commit 8ba4667

Please sign in to comment.