Skip to content

Commit cea245d

Browse files
authored
Merge pull request #3044 from dheerajodha/EC-1474
Add docs to describe the Types of Attestations and Manifests
2 parents e64009c + c0d8f59 commit cea245d

File tree

4 files changed

+432
-1
lines changed

4 files changed

+432
-1
lines changed

acceptance/kubernetes/kubernetes.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,15 @@ func AddStepsTo(sc *godog.ScenarioContext) {
484484
}
485485

486486
c := testenv.FetchState[ClusterState](ctx)
487+
if c == nil {
488+
return ctx, nil
489+
}
490+
491+
if !c.Up(ctx) {
492+
return ctx, nil
493+
}
487494

488-
if !c.cluster.Up(ctx) {
495+
if c.cluster == nil {
489496
return ctx, nil
490497
}
491498

0 commit comments

Comments
 (0)