token-redeemer: disable pretty formatting for ini

This commit is contained in:
Harald Sitter
2026-02-19 00:00:01 +01:00
parent dd9d29ad2e
commit d756d2fb1d

View File

@@ -91,6 +91,8 @@ func (r *Redeemer) writeConfigAWS(creds Credentials) {
SessionToken: creds.SessionToken,
}
// Disable spaces around =, it screws with parsing in desync's s3 support
ini.PrettyFormat = false
cfg := ini.Empty()
section := cfg.Section("default")
err := section.ReflectFrom(a)