diff --git a/hack/test-cmd.sh b/hack/test-cmd.sh index a56e8527a01..0ebedf8c9cc 100755 --- a/hack/test-cmd.sh +++ b/hack/test-cmd.sh @@ -547,7 +547,7 @@ __EOF__ ### Perform a rolling update with --image # Pre-condition status.Replicas is 3, otherwise the rcmanager could update it and interfere with the rolling update - kube::test::get_object_assert 'rc frontend' "{{$rc_status_replicas_field}}" '3' + kube::test::get_object_assert 'rc frontend' "{{$rc_replicas_field}}" '3' # Command kubectl rolling-update frontend --image=kubernetes/pause --update-period=10ns --poll-interval=10ms "${kube_flags[@]}" # Post-condition: current image IS kubernetes/pause