diff --git a/e2e/testcases/workload_identity_test.go b/e2e/testcases/workload_identity_test.go index 8c246cb07..1b744edfe 100644 --- a/e2e/testcases/workload_identity_test.go +++ b/e2e/testcases/workload_identity_test.go @@ -539,6 +539,7 @@ func updateRootSyncWithOCISourceConfig(nt *nomostest.NT, rsID core.ID, sc source if err = nt.KubeClient.Apply(rootSyncOCI); err != nil { return meta, err } + meta.sha1Func = imageDigestFuncByDigest(image.Digest) return meta, nil } @@ -558,6 +559,7 @@ func updateRepoSyncWithOCISourceConfig(nt *nomostest.NT, rsID core.ID, sc source if err = nt.KubeClient.Apply(repoSyncOCI); err != nil { return meta, err } + meta.sha1Func = imageDigestFuncByDigest(image.Digest) return meta, nil }