Skip to content

Commit 495b3c5

Browse files
committed
Update scan type hash for new kubernetes fields
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent 805a341 commit 495b3c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/utils/hash_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var _ = Describe("ScanType Hashing", func() {
5353
It("should hash scantype consistently", func() {
5454
hashValues := HashScanType(scanType)
5555
// note: this hash changes with every kubernetes release as kubernetes adds new field to their objects which causes the hashes to change.
56-
Expect(hashValues).To(Equal(uint64(0xba4b605a6550aca3)), "Should hash scantype consistently")
56+
Expect(hashValues).To(Equal(uint64(11099598195720215515)), "Should hash scantype consistently")
5757
})
5858

5959
It("should ignore non-scb annotations on the scantypes", func() {

0 commit comments

Comments
 (0)