Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4ad4acc3
Commit
4ad4acc3
authored
Nov 30, 2018
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pod log dropdown not switching
parent
1d069e41
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/assets/javascripts/kubernetes_logs.js
ee/app/assets/javascripts/kubernetes_logs.js
+1
-1
ee/changelogs/unreleased/jivl-fix-kubernetes-pod-dropdown.yml
...hangelogs/unreleased/jivl-fix-kubernetes-pod-dropdown.yml
+5
-0
ee/spec/javascripts/kubernetes_logs_spec.js
ee/spec/javascripts/kubernetes_logs_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/kubernetes_logs.js
View file @
4ad4acc3
...
...
@@ -94,7 +94,7 @@ export default class KubernetesPodLogs extends LogOutputBehaviours {
`
);
});
$podDropdownMenu
.
find
(
'
li
'
).
on
(
'
click
'
,
this
.
changePodLog
.
bind
(
this
));
$podDropdownMenu
.
find
(
'
button
'
).
on
(
'
click
'
,
this
.
changePodLog
.
bind
(
this
));
}
changePodLog
(
el
)
{
...
...
ee/changelogs/unreleased/jivl-fix-kubernetes-pod-dropdown.yml
0 → 100644
View file @
4ad4acc3
---
title
:
fix pod dropdown not switching pod logs
merge_request
:
8660
author
:
type
:
fixed
ee/spec/javascripts/kubernetes_logs_spec.js
View file @
4ad4acc3
...
...
@@ -70,7 +70,7 @@ describe('Kubernetes Logs', () => {
anotherPod
.
click
();
expect
(
changePodLogSpy
).
toHaveBeenCalled
(
);
expect
(
changePodLogSpy
.
calls
.
count
()).
toEqual
(
2
);
done
();
},
0
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment