Mohammed Nafees 3 лет назад
Родитель
Сommit
8f7cc56c3a
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      internal/models/cluster.go
  2. 1 1
      internal/worker/dispatcher.go

+ 1 - 1
internal/models/cluster.go

@@ -77,7 +77,7 @@ type Cluster struct {
 	CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"`
 
 	// MonitorHelmReleases to trim down the number of revisions per release
-	MonitorHelmReleases bool `json:"monitor_helm_releases"`
+	MonitorHelmReleases bool
 }
 
 // ToProjectType generates an external types.Project to be shared over REST

+ 1 - 1
internal/worker/dispatcher.go

@@ -16,7 +16,7 @@ type Dispatcher struct {
 }
 
 // NewDispatcher creates a new instance of Dispatcher with
-// the given number of workers hat should be in the worker pool
+// the given number of workers that should be in the worker pool
 func NewDispatcher(maxWorkers int) *Dispatcher {
 	pool := make(chan chan Job, maxWorkers)
 	return &Dispatcher{