Include version number in URL when using klugman as client lib.
Will fix properly later, for now it's a doc issue. Change-Id: I9e57516393dd0a96079ee809950f541d797ba91e
This commit is contained in:
parent
0d491a9366
commit
0acfda92d8
@ -8,10 +8,11 @@ Using Klugman as a client library:
|
||||
```
|
||||
from klugman import v1
|
||||
|
||||
events = v1.Events('http://www.example.com:8000')
|
||||
# NOTE: include version number in URL!
|
||||
events = v1.Events('http://www.example.com:8000/v1')
|
||||
data = events.get_events_count(name='compute.instance.update')
|
||||
|
||||
streams = v1.Streams('http://www.example.com:8000')
|
||||
streams = v1.Streams('http://www.example.com:8000/v1')
|
||||
data = streams.get_streams(state='completed', details=True)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user