Files
Ogheneobukome Ejaife df63ede790 fix: strip colon from parsed NewReplicaSet name (#543)
* fix: strip colon from parsed NewReplicaSet name

Include the trailing colon in the 'newreplicaset:' keyword so substring() removes "NewReplicaSet:" entirely. Previously the colon was left behind, causing getNewReplicaSet to return ":" instead of the actual ReplicaSet name.

Also update the getNewReplicaSet unit test to use realistic colon-delimited `kubectl describe` output, which the previous mock omitted.

Resolves azure/k8s-deploy#318

* fix: update new replica set name format in tests

---------

Co-authored-by: David Gamero <david340804@gmail.com>
2026-07-29 00:38:10 -04:00
..