Fix the tutorial's user events
This commit is contained in:
parent
036c8e56e0
commit
094f91fb8b
3 changed files with 19 additions and 20 deletions
|
@ -59,7 +59,7 @@
|
|||
'templateUrl': '/static/tutorial/push-image.html',
|
||||
'signal': AngularTourSignals.serverEvent('/realtime/user/subscribe?events=docker-cli',
|
||||
function(message, tourScope) {
|
||||
var pushing = message['data']['action'] == 'push_repo';
|
||||
var pushing = message['data']['action'] == 'push_start';
|
||||
if (pushing) {
|
||||
tourScope.repoName = message['data']['repository'];
|
||||
}
|
||||
|
@ -73,7 +73,7 @@
|
|||
'templateUrl': '/static/tutorial/pushing.html',
|
||||
'signal': AngularTourSignals.serverEvent('/realtime/user/subscribe?events=docker-cli',
|
||||
function(message, tourScope) {
|
||||
return message['data']['action'] == 'pushed_repo';
|
||||
return message['data']['action'] == 'push_repo';
|
||||
}),
|
||||
'waitMessage': "Waiting for repository push to complete"
|
||||
},
|
||||
|
|
Reference in a new issue