Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com>
  • Loading branch information
svghadi committed Sep 19, 2024
1 parent 6395c89 commit 2dd3ac2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -1075,14 +1075,6 @@ func toString(val interface{}) string {
return fmt.Sprintf("%s", val)
}

func convertSliceToMap(s []string) map[string]bool {
m := make(map[string]bool)
for _, k := range s {
m[k] = true
}
return m
}

// remarshal checks resource kind and version and re-marshal using corresponding struct custom marshaller.
// This ensures that expected resource state is formatter same as actual resource state in kubernetes
// and allows to find differences between actual and target states more accurately.
Expand Down

0 comments on commit 2dd3ac2

Please sign in to comment.