diff --git a/share/hooks/host_error.rb b/share/hooks/host_error.rb index d32b4a5d78..fac88bf8ca 100755 --- a/share/hooks/host_error.rb +++ b/share/hooks/host_error.rb @@ -261,7 +261,7 @@ if vm_ids_array log "resched #{vm_id}" vm.resched else - log_error "unkown mode '#{mode}'" + log_error "unknown mode '#{mode}'" exit_error end end diff --git a/src/scheduler/etc/sched.conf b/src/scheduler/etc/sched.conf index c65f26e2c5..5076efb3d7 100644 --- a/src/scheduler/etc/sched.conf +++ b/src/scheduler/etc/sched.conf @@ -33,7 +33,7 @@ # 2 = Load-aware. Heuristic that tries to maximize resources available for # the VMs by using those nodes with less load # 3 = Custom. -# - rank: Custom arithmetic exprission to rank suitable hosts based in their +# - rank: Custom arithmetic expression to rank suitable hosts based in their # attributes # 4 = Fixed. Hosts will be ranked according to the PRIORITY attribute found # in the Host or Cluster template.