1
0
mirror of https://github.com/rancher/norman.git synced 2025-05-09 00:26:28 +00:00

Merge pull request from jakefhyde/update-deprecated-message

This commit is contained in:
Kinara Shah 2022-06-21 10:37:21 -07:00 committed by GitHub
commit cba80063e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}} {