fixing staticcheck

This commit is contained in:
Akram Ben Aissi 2019-06-26 09:07:09 -04:00
parent f17a4c5dce
commit 4150b6c767
2 changed files with 6 additions and 9 deletions

View File

@ -155,7 +155,6 @@ type JenkinsMaster struct {
// +optional // +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// SecurityContext that applies to all the containers of the Jenkins // SecurityContext that applies to all the containers of the Jenkins
// Master. As per kubernetes specification, it can be overidden // Master. As per kubernetes specification, it can be overidden
// for each container individually. // for each container individually.

View File

@ -46,8 +46,6 @@ const (
slavePortName = "slavelistener" slavePortName = "slavelistener"
// HTTPPortInt defines Jenkins master HTTP port // HTTPPortInt defines Jenkins master HTTP port
HTTPPortInt = 8080 HTTPPortInt = 8080
jenkinsUserUID = int64(1000) // build in Docker image jenkins user UID
) )
func buildPodTypeMeta() metav1.TypeMeta { func buildPodTypeMeta() metav1.TypeMeta {