Fix provisioner comment.

This commit is contained in:
Fabian-Schmidt 2020-08-24 14:05:29 +10:00
parent 058dff44f9
commit 0c6790e142
1 changed files with 3 additions and 4 deletions

View File

@ -28,10 +28,9 @@ type ResourceProvisioner interface {
// are set and that the general structure is correct.
Validate(*ResourceConfig) ([]string, []error)
// Apply runs the provisioner on a specific resource and returns the new
// resource state along with an error. Instead of a diff, the ResourceConfig
// is provided since provisioners only run after a resource has been
// newly created.
// Apply runs the provisioner on a specific resource and returns an error.
// Instead of a diff, the ResourceConfig is provided since provisioners
// only run after a resource has been newly created.
Apply(UIOutput, *InstanceState, *ResourceConfig) error
// Stop is called when the provisioner should halt any in-flight actions.