Skip to content

Commit 9caecd7

Browse files
addressed review comments
1 parent 4112b55 commit 9caecd7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/extended/cli/admin.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,7 @@ var _ = g.Describe("[sig-cli] oc adm", func() {
554554
if cleanup != nil {
555555
defer cleanup()
556556
}
557-
if err != nil {
558-
o.Expect(err).NotTo(o.HaveOccurred(), "PrepareImagePullSecretAndCABundle failed")
559-
}
557+
o.Expect(err).NotTo(o.HaveOccurred(), "PrepareImagePullSecretAndCABundle failed")
560558
args := append([]string{"--file", "image-references"}, regArgs...)
561559
args = append(args, payloadImage)
562560
out, err := oc.AsAdmin().Run("adm", "release", "extract").Args(args...).Output()

0 commit comments

Comments
 (0)