We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a530e56 commit 03d73cdCopy full SHA for 03d73cd
pkg/devspace/kubectl/selector/selector.go
@@ -96,7 +96,11 @@ func (s Selector) String() string {
96
strs = append(strs, "image selector: "+strings.Join(sa, ","))
97
}
98
if len(s.LabelSelector) > 0 {
99
- strs = append(strs, "label selector: "+s.LabelSelector)
+ if s.ContainerName != "" {
100
+ strs = append(strs, "label selector: "+s.LabelSelector+" - container: "+s.ContainerName)
101
+ } else {
102
+ strs = append(strs, "label selector: "+s.LabelSelector)
103
+ }
104
105
if s.Pod != "" {
106
strs = append(strs, "pod name: "+s.Pod)
0 commit comments