Activate lint typecheck

This commit is contained in:
Jeffrey Regan
2019-11-18 06:53:38 -08:00
parent 562aaadf2c
commit 362454413a
5 changed files with 7 additions and 7 deletions

View File

@@ -252,9 +252,9 @@ func (r *Resource) Behavior() types.GenerationBehavior {
return r.options.Behavior()
}
// ShouldAddHashSuffixToName returns true if a resource
// content hash should be appended to the name of the resource.
func (r *Resource) ShouldAddHashSuffixToName() bool {
// NeedHashSuffix returns true if a resource content
// hash should be appended to the name of the resource.
func (r *Resource) NeedHashSuffix() bool {
return r.options != nil && r.options.ShouldAddHashSuffixToName()
}