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 85f8a2c commit 4a52495Copy full SHA for 4a52495
pkg/options/types.go
@@ -108,8 +108,8 @@ func (r *ResourceSet) Type() string {
108
type NodeType string
109
110
// GetNodeFieldSelector returns a nodename field selector.
111
-func (n *NodeType) GetNodeFieldSelector(noNodeAssigned bool) string {
112
- if noNodeAssigned {
+func (n *NodeType) GetNodeFieldSelector(fetchUnscheduledPods bool) string {
+ if fetchUnscheduledPods {
113
if string(*n) != "" {
114
klog.Warningf("spec.nodeName=%s will not be used, because --enable-unscheduled-pods-fetching is set", string(*n))
115
}
0 commit comments