mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
fix breaking code
this is what i get for submitting PRs late at night
This commit is contained in:
parent
0dda1d5c61
commit
1b7f772f8b
@ -232,8 +232,8 @@ func (c *RemoteClient) Put(data []byte) error {
|
||||
// transaction was rolled back
|
||||
if !ok {
|
||||
message := ""
|
||||
for _, respError := resp.Errors {
|
||||
message += respError.What,
|
||||
for _, respError := range resp.Errors {
|
||||
message += respError.What
|
||||
}
|
||||
return fmt.Errorf("consul CAS failed with transaction errors: %s", message)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user