Skip to content

Commit e2e1f09

Browse files
committed
Edit verbose output to trigger travis-ci
1 parent 861c2db commit e2e1f09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kubernetes/utils/create_from_yaml.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424
def create_from_yaml(yaml_file, verbose=0, **kwargs):
2525
"""
26-
Perform an action from a yaml file.
26+
Perform an action from a yaml file. Pass 1 for verbose to
27+
print confirmation information.
2728
2829
Available parameters for generating the client:
2930
:param configuration: Configuration for the client.
@@ -68,6 +69,6 @@ def create_from_yaml(yaml_file, verbose=0, **kwargs):
6869
resp = getattr(k8s_api, "create_namespaced_%s" % action_type.lower())(
6970
body=dep, namespace=dep_namespace, **action_args)
7071
if verbose:
71-
print("Deployment created. status='%s'" % str(resp.status))
72+
print("%s created. status='%s'" % (action_type, str(resp.status)))
7273
return k8s_api
7374

0 commit comments

Comments
 (0)