Correct the documentation for create_from_dict

The function can create one or more Kuberenetes objects
based on the content of data. It can handle all API objects
incuding `List` type, which by itself can contain more than
one Kuberenetes API objects.
This commit is contained in:
Oz N Tiram 2019-06-20 14:30:27 +02:00
parent 34898387c3
commit 4fa0e87bd7

View File

@ -90,8 +90,8 @@ def create_from_yaml(
def create_from_dict(k8s_client, data, verbose=False, **kwargs):
"""
Perform an action from a dictionary containing one or more valid kubernetes
objects
Perform an action from a dictionary containing valid kubernetes
API object (i.e. List, Service, etc).
Input:
k8s_client: an ApiClient object, initialized with the client args.