Skip to content

Commit

Permalink
[YUNIKORN-1832] Default conf value DefaultNodeInstanceTypeNodeLabelKe…
Browse files Browse the repository at this point in the history
…y is not honored (#640)

Closes: #640

Signed-off-by: qzhu <[email protected]>
  • Loading branch information
Yongjun Zhang authored and zhuqi-lucas committed Jul 20, 2023
1 parent 60a5cfe commit b9cb3da
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions pkg/conf/schedulerconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,24 +128,25 @@ func (conf *SchedulerConf) Clone() *SchedulerConf {
defer conf.RUnlock()

return &SchedulerConf{
SchedulerName: conf.SchedulerName,
ClusterID: conf.ClusterID,
ClusterVersion: conf.ClusterVersion,
PolicyGroup: conf.PolicyGroup,
Interval: conf.Interval,
KubeConfig: conf.KubeConfig,
VolumeBindTimeout: conf.VolumeBindTimeout,
TestMode: conf.TestMode,
EventChannelCapacity: conf.EventChannelCapacity,
DispatchTimeout: conf.DispatchTimeout,
KubeQPS: conf.KubeQPS,
KubeBurst: conf.KubeBurst,
OperatorPlugins: conf.OperatorPlugins,
EnableConfigHotRefresh: conf.EnableConfigHotRefresh,
DisableGangScheduling: conf.DisableGangScheduling,
UserLabelKey: conf.UserLabelKey,
PlaceHolderImage: conf.PlaceHolderImage,
Namespace: conf.Namespace,
SchedulerName: conf.SchedulerName,
ClusterID: conf.ClusterID,
ClusterVersion: conf.ClusterVersion,
PolicyGroup: conf.PolicyGroup,
Interval: conf.Interval,
KubeConfig: conf.KubeConfig,
VolumeBindTimeout: conf.VolumeBindTimeout,
TestMode: conf.TestMode,
EventChannelCapacity: conf.EventChannelCapacity,
DispatchTimeout: conf.DispatchTimeout,
KubeQPS: conf.KubeQPS,
KubeBurst: conf.KubeBurst,
OperatorPlugins: conf.OperatorPlugins,
EnableConfigHotRefresh: conf.EnableConfigHotRefresh,
DisableGangScheduling: conf.DisableGangScheduling,
UserLabelKey: conf.UserLabelKey,
PlaceHolderImage: conf.PlaceHolderImage,
InstanceTypeNodeLabelKey: conf.InstanceTypeNodeLabelKey,
Namespace: conf.Namespace,
}
}

Expand Down

0 comments on commit b9cb3da

Please sign in to comment.