mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
Remove pointer receivers from schema structs
This change makes the schema structs consistently use non-pointer receivers. This makes it easier to call these methods since these structs are used as values instead of pointers. Signed-off-by: Monis Khan <mkhan@redhat.com>
This commit is contained in:
@@ -430,7 +430,7 @@ run_recursive_resources_tests() {
|
||||
## Attempt to rollback the replication controllers to revision 1 recursively
|
||||
output_message=$(! kubectl rollout undo -f hack/testdata/recursive/rc --recursive --to-revision=1 2>&1 "${kube_flags[@]}")
|
||||
# Post-condition: busybox0 & busybox1 should error as they are RC's, and since busybox2 is malformed, it should error
|
||||
kube::test::if_has_string "${output_message}" 'no rollbacker has been implemented for {"" "ReplicationController"}'
|
||||
kube::test::if_has_string "${output_message}" 'no rollbacker has been implemented for "ReplicationController"'
|
||||
kube::test::if_has_string "${output_message}" "Object 'Kind' is missing"
|
||||
## Attempt to pause the replication controllers recursively
|
||||
output_message=$(! kubectl rollout pause -f hack/testdata/recursive/rc --recursive 2>&1 "${kube_flags[@]}")
|
||||
|
Reference in New Issue
Block a user