helper/resource: fix ungrammatical doc comment in StateChangeConf

This commit is contained in:
Nándor István Krácser 2017-11-08 18:43:36 +01:00 committed by Martin Atkins
parent 6302916e65
commit e5cc8af7f3
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ type StateChangeConf struct {
// If the Timeout is exceeded before reaching the Target state, return an // If the Timeout is exceeded before reaching the Target state, return an
// error. // error.
// //
// Otherwise, result the result of the first call to the Refresh function to // Otherwise, the result is the result of the first call to the Refresh function to
// reach the target state. // reach the target state.
func (conf *StateChangeConf) WaitForState() (interface{}, error) { func (conf *StateChangeConf) WaitForState() (interface{}, error) {
log.Printf("[DEBUG] Waiting for state to become: %s", conf.Target) log.Printf("[DEBUG] Waiting for state to become: %s", conf.Target)