Skip to content

Commit

Permalink
Fix 'client.get_config', too
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Sep 1, 2017
1 parent 8157a5b commit da74ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimeconfig/google/cloud/runtimeconfig/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def get_variable(self, variable_name, client=None):
>>> from google.cloud import runtimeconfig
>>> client = runtimeconfig.Client()
>>> config = client.get_config('my-config')
>>> config = client.config('my-config')
>>> print(config.get_variable('variable-name'))
<Variable: my-config, variable-name>
>>> print(config.get_variable('does-not-exist'))
Expand Down

0 comments on commit da74ebc

Please sign in to comment.