You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
the function 'remove' in pkg/kustomize/kustomize.go fails with not checked inputs Expected behavior
The selected element is deleted from the array.
To Reproduce
Steps to reproduce the behavior:
Run 'mlp hydrate' with a path that contains a file that needs to be eliminated with its positioning index in the array greater than the len(array) at the time of evaluation
Screenshots
none. Machine information (please complete the following information):
Describe the bug
the function 'remove' in pkg/kustomize/kustomize.go fails with not checked inputs
Expected behavior
The selected element is deleted from the array.
To Reproduce
Steps to reproduce the behavior:
Screenshots
none.
Machine information (please complete the following information):
Additional context
[Add any other context about the problem here.]
StackOverflow with relevant discussion
https://stackoverflow.com/questions/37334119/how-to-delete-an-element-from-a-slice-in-golang
go.dev playground with the same issue
https://go.dev/play/p/dnob56eMvB9
The text was updated successfully, but these errors were encountered: