Fixed the comments to be capitalized at the start and also terminate with a period.
This commit is contained in:
parent
577120ae7c
commit
b807625b78
19 changed files with 194 additions and 201 deletions
|
@ -18,7 +18,7 @@ func coLocated(tasks map[string]bool) {
|
|||
fmt.Println("---------------------")
|
||||
}
|
||||
|
||||
// Get the powerClass of the given hostname
|
||||
// Get the powerClass of the given hostname.
|
||||
func hostToPowerClass(hostName string) string {
|
||||
for powerClass, hosts := range constants.PowerClasses {
|
||||
if _, ok := hosts[hostName]; ok {
|
||||
|
@ -28,7 +28,7 @@ func hostToPowerClass(hostName string) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
// scheduler policy options to help initialize schedulers
|
||||
// Scheduler policy options to help initialize schedulers.
|
||||
type schedPolicyOption func(e ElectronScheduler) error
|
||||
|
||||
func WithTasks(ts []def.Task) schedPolicyOption {
|
||||
|
|
Reference in a new issue