Skip to content

Commit

Permalink
Remove redundant variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Feb 21, 2025
1 parent e728486 commit c13bb6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/turing/cluster/servicebuilder/service_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ func (sb *clusterSvcBuilder) NewSecret(
project *mlp.Project,
secretMap map[string]string,
) *cluster.Secret {
data := secretMap

return &cluster.Secret{
Name: fmt.Sprintf(
"%s-turing-%s-%d",
Expand All @@ -327,7 +325,7 @@ func (sb *clusterSvcBuilder) NewSecret(
routerVersion.Version,
),
Namespace: project.Name,
Data: data,
Data: secretMap,
Labels: buildLabels(project, routerVersion.Router),
}
}
Expand Down

0 comments on commit c13bb6c

Please sign in to comment.