Merge pull request #25973 from Fabian-Schmidt/provisioner_comment_fix
provisioner comment fix.
This commit is contained in:
commit
29af42df81
|
@ -28,10 +28,9 @@ type ResourceProvisioner interface {
|
||||||
// are set and that the general structure is correct.
|
// are set and that the general structure is correct.
|
||||||
Validate(*ResourceConfig) ([]string, []error)
|
Validate(*ResourceConfig) ([]string, []error)
|
||||||
|
|
||||||
// Apply runs the provisioner on a specific resource and returns the new
|
// Apply runs the provisioner on a specific resource and returns an error.
|
||||||
// resource state along with an error. Instead of a diff, the ResourceConfig
|
// Instead of a diff, the ResourceConfig is provided since provisioners
|
||||||
// is provided since provisioners only run after a resource has been
|
// only run after a resource has been newly created.
|
||||||
// newly created.
|
|
||||||
Apply(UIOutput, *InstanceState, *ResourceConfig) error
|
Apply(UIOutput, *InstanceState, *ResourceConfig) error
|
||||||
|
|
||||||
// Stop is called when the provisioner should halt any in-flight actions.
|
// Stop is called when the provisioner should halt any in-flight actions.
|
||||||
|
|
Loading…
Reference in New Issue