Update the client version in samples
Now we have deprecated the v1 api for a while. The client version in samples shoud be updated too. Change-Id: Ib7789f3478a68522f44974eece6685ee8ef40614 Closes-Bug: #1792528
This commit is contained in:
parent
331a984614
commit
091baa2359
@ -9,7 +9,7 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
from zaqarclient.queues.v1 import client
|
||||
from zaqarclient.queues.v2 import client
|
||||
|
||||
client = client.Client('http://localhost:8888', conf={
|
||||
'auth_opts': {
|
||||
@ -20,7 +20,7 @@ client = client.Client('http://localhost:8888', conf={
|
||||
'os_project_id': '7530fad032ca431e9dc8ed4a5de5d99c'
|
||||
}
|
||||
}
|
||||
}, version=2)
|
||||
})
|
||||
|
||||
queue = client.queue('SampleQueue')
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
from zaqarclient.queues.v1 import client
|
||||
from zaqarclient.queues.v2 import client
|
||||
|
||||
client = client.Client('http://localhost:8888', conf={
|
||||
'auth_opts': {
|
||||
@ -20,7 +20,7 @@ client = client.Client('http://localhost:8888', conf={
|
||||
'os_project_id': '7530fad032ca431e9dc8ed4a5de5d99c'
|
||||
}
|
||||
}
|
||||
}, version=2)
|
||||
})
|
||||
|
||||
queue = client.queue('SampleQueue')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user