mirror of https://github.com/helm/helm
A negative --offset value passed the out-of-bounds guard, which only covers offsets past the end of the list, and then panicked in the slice expression rresults[l.Offset:last]. Validate the offset up front and return an error instead, for both the CLI and SDK consumers. Signed-off-by: zjncs <18910855655@163.com>pull/32621/head
parent
fa11636b01
commit
08f48fd589
Loading…
Reference in new issue