mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
fix(linters): upgrade golangci-lint to v2.3.1 BE-12136 (#997)
This commit is contained in:
@@ -40,12 +40,6 @@ func CreateKubernetesStackGitBuilder(dataStore dataservices.DataStore,
|
||||
}
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) SetGeneralInfo(payload *StackPayload, endpoint *portainer.Endpoint) GitMethodStackBuildProcess {
|
||||
b.GitMethodStackBuilder.SetGeneralInfo(payload, endpoint)
|
||||
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) SetUniqueInfo(payload *StackPayload) GitMethodStackBuildProcess {
|
||||
if b.hasError() {
|
||||
return b
|
||||
@@ -60,12 +54,6 @@ func (b *KubernetesStackGitBuilder) SetUniqueInfo(payload *StackPayload) GitMeth
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) SetGitRepository(payload *StackPayload) GitMethodStackBuildProcess {
|
||||
b.GitMethodStackBuilder.SetGitRepository(payload)
|
||||
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) Deploy(payload *StackPayload, endpoint *portainer.Endpoint) GitMethodStackBuildProcess {
|
||||
if b.hasError() {
|
||||
return b
|
||||
@@ -91,13 +79,3 @@ func (b *KubernetesStackGitBuilder) Deploy(payload *StackPayload, endpoint *port
|
||||
|
||||
return b.GitMethodStackBuilder.Deploy(payload, endpoint)
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) SetAutoUpdate(payload *StackPayload) GitMethodStackBuildProcess {
|
||||
b.GitMethodStackBuilder.SetAutoUpdate(payload)
|
||||
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *KubernetesStackGitBuilder) GetResponse() string {
|
||||
return b.GitMethodStackBuilder.deploymentConfiger.GetResponse()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user