From 7f4d34886afd5c3284df21de8558cd697ba63bf3 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Mon, 8 Jul 2024 11:43:20 -0700 Subject: [PATCH] zero the flags too --- orbit/copier.go | 1 + 1 file changed, 1 insertion(+) diff --git a/orbit/copier.go b/orbit/copier.go index 51d795d..fd52114 100644 --- a/orbit/copier.go +++ b/orbit/copier.go @@ -86,6 +86,7 @@ func CopyIndexer[S IndexerInput | IndexerOutput, D IndexerInput](src *S, dst *D, element := reflect.ValueOf(dst).Elem() zeroField(element.FieldByName("ID"), true) + zeroField(element.FieldByName("IndexerFlags"), true) zeroField(element.FieldByName("Tags"), !keepTags) return dst, nil