Mohammed Nafees 3 năm trước cách đây
mục cha
commit
8f7cc56c3a

+ 1 - 1
internal/models/cluster.go

@@ -77,7 +77,7 @@ type Cluster struct {
 	CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"`
 	CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"`
 
 
 	// MonitorHelmReleases to trim down the number of revisions per release
 	// 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
 // 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
 // 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 {
 func NewDispatcher(maxWorkers int) *Dispatcher {
 	pool := make(chan chan Job, maxWorkers)
 	pool := make(chan chan Job, maxWorkers)
 	return &Dispatcher{
 	return &Dispatcher{