craigcondit commented on code in PR #446:
URL: https://github.com/apache/yunikorn-core/pull/446#discussion_r1020992108
##########
pkg/common/configs/config.go:
##########
@@ -227,5 +193,14 @@ func GetConfigurationString(requestBytes []byte) string {
return strings.ReplaceAll(conf, checksum, "")
}
-// Default loader, can be updated by tests
-var SchedulerConfigLoader LoadSchedulerConfigFunc = loadSchedulerConfigFromFile
+// DefaultSchedulerConfig contains the default scheduler configuration; used
if no other is provided
+var DefaultSchedulerConfig = `
+partitions:
+ - name: default
+ placementrules:
+ - name: tag
+ value: namespace
+ create: true
+ queues:
+ - name: root
Review Comment:
Updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]