Fix unued variable, useless functions...

This commit is contained in:
2024-04-03 21:33:26 +02:00
parent 5a358f0a6a
commit 5d4f72e984
4 changed files with 4 additions and 13 deletions

View File

@@ -76,7 +76,7 @@ func NewSecret(service types.ServiceConfig, appName string) *Secret {
// SetData sets the data of the secret.
func (s *Secret) SetData(data map[string]string) {
for key, value := range data {
s.AddData(key, fmt.Sprintf("%s", value))
s.AddData(key, value)
}
}