1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-31 14:51:57 +00:00

Merge pull request #416 from jakefhyde/update-deprecated-message

This commit is contained in:
Kinara Shah
2022-06-21 10:37:21 -07:00
committed by GitHub

View File

@@ -48,7 +48,7 @@ func init() {
resource.Put({{.schema.CodeName}}GroupVersionResource)
}
// Deprecated use {{.prefix}}{{.schema.CodeName}} instead
// Deprecated: use {{.prefix}}{{.schema.CodeName}} instead
type {{.schema.CodeName}} = {{.prefix}}{{.schema.CodeName}}
func New{{.schema.CodeName}}(namespace, name string, obj {{.prefix}}{{.schema.CodeName}}) *{{.prefix}}{{.schema.CodeName}} {