mirror of
https://github.com/rancher/norman.git
synced 2025-04-28 03:20:08 +00:00
Update Deprecated comment in controller template
Deprecated comments should begin with "Deprecated:" so it is recognized by modern linters.
This commit is contained in:
parent
4feb41eafa
commit
7113b21724
@ -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}} {
|
||||
|
Loading…
Reference in New Issue
Block a user