Use getters to ensure value

This commit is contained in:
Chris Roberts 2022-06-27 11:24:12 -07:00
parent ee85eed227
commit 70d9fa9faf

View File

@ -71,9 +71,9 @@ func (t *Target) UI() (terminal.UI, error) {
func (t *Target) Ref() interface{} {
return &vagrant_plugin_sdk.Ref_Target{
ResourceId: t.target.ResourceId,
Project: t.target.Project,
Name: t.target.Name,
ResourceId: t.target.GetResourceId(),
Project: t.target.GetProject(),
Name: t.target.GetName(),
}
}