mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 23:50:12 -06:00
chore: update version4.go (#1754)
Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com> Signed-off-by: Ikko Ashimine <ashimine_ikko_bp@tenso.com>
This commit is contained in:
parent
374c9eedd3
commit
fa18e32e12
@ -347,7 +347,7 @@ func writeStateV4(file *File, w io.Writer, enc encryption.StateEncryption) tfdia
|
||||
diags = diags.Append(tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Failed to serialize output value in state",
|
||||
fmt.Sprintf("An error occured while serializing output value %q: %s.", name, err),
|
||||
fmt.Sprintf("An error occurred while serializing output value %q: %s.", name, err),
|
||||
))
|
||||
continue
|
||||
}
|
||||
@ -357,7 +357,7 @@ func writeStateV4(file *File, w io.Writer, enc encryption.StateEncryption) tfdia
|
||||
diags = diags.Append(tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Failed to serialize output value in state",
|
||||
fmt.Sprintf("An error occured while serializing the type of output value %q: %s.", name, err),
|
||||
fmt.Sprintf("An error occurred while serializing the type of output value %q: %s.", name, err),
|
||||
))
|
||||
continue
|
||||
}
|
||||
@ -430,7 +430,7 @@ func writeStateV4(file *File, w io.Writer, enc encryption.StateEncryption) tfdia
|
||||
diags = diags.Append(tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Failed to serialize state",
|
||||
fmt.Sprintf("An error occured while serializing the state to save it. This is a bug in OpenTofu and should be reported: %s.", err),
|
||||
fmt.Sprintf("An error occurred while serializing the state to save it. This is a bug in OpenTofu and should be reported: %s.", err),
|
||||
))
|
||||
return diags
|
||||
}
|
||||
@ -444,7 +444,7 @@ func writeStateV4(file *File, w io.Writer, enc encryption.StateEncryption) tfdia
|
||||
diags = diags.Append(tfdiags.Sourceless(
|
||||
tfdiags.Error,
|
||||
"Failed to write state",
|
||||
fmt.Sprintf("An error occured while writing the serialized state: %s.", err),
|
||||
fmt.Sprintf("An error occurred while writing the serialized state: %s.", err),
|
||||
))
|
||||
return diags
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user