terraform: GoString for *ResourceState
This commit is contained in:
parent
5fc41cc272
commit
6d6cd793e0
|
@ -352,6 +352,10 @@ func (s *ResourceState) MergeDiff(d *ResourceDiff) *ResourceState {
|
||||||
return &result
|
return &result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *ResourceState) GoString() string {
|
||||||
|
return fmt.Sprintf("*%#v", *s)
|
||||||
|
}
|
||||||
|
|
||||||
// ResourceDependency maps a resource to another resource that it
|
// ResourceDependency maps a resource to another resource that it
|
||||||
// depends on to remain intact and uncorrupted.
|
// depends on to remain intact and uncorrupted.
|
||||||
type ResourceDependency struct {
|
type ResourceDependency struct {
|
||||||
|
|
Loading…
Reference in New Issue