Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
CodeLingo Bot
2019-03-11 00:45:21 +00:00
parent a59577c08d
commit 9a4692e6ee
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ func (r *Resource) Behavior() types.GenerationBehavior {
return r.options.Behavior()
}
// NeedAppendHash checks if the resource need a hash suffix
// NeedHashSuffix checks if the resource need a hash suffix
func (r *Resource) NeedHashSuffix() bool {
return r.options != nil && r.options.NeedsHashSuffix()
}