The CreateSync method includes the waiting for the pod to become running and returns a fresh new pod instance. In addition, errors are asserted in the method. Therefore, there is no need for the callers to repeat these operations. Some, like the error assertions, will never be reached in case they occur as they will explode from within the method itself. Signed-off-by: Edward Haas <edwardh@redhat.com>
16 KiB
16 KiB