mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Scopes: Change JS linkID to linkId (#87831)
This commit is contained in:
@@ -111,7 +111,7 @@ type ScopeNodeSpec struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
||||
LinkID string `json:"linkID,omitempty"` // the k8s name
|
||||
LinkID string `json:"linkId,omitempty"` // the k8s name
|
||||
// ?? should this be a slice of links
|
||||
}
|
||||
|
||||
@@ -139,5 +139,5 @@ type TreeItem struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
||||
LinkID string `json:"linkID,omitempty"` // the k8s name
|
||||
LinkID string `json:"linkId,omitempty"` // the k8s name
|
||||
}
|
||||
|
||||
@@ -397,7 +397,7 @@ func schema_pkg_apis_scope_v0alpha1_ScopeNodeSpec(ref common.ReferenceCallback)
|
||||
Enum: []interface{}{"scope"},
|
||||
},
|
||||
},
|
||||
"linkID": {
|
||||
"linkId": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "scope (later more things)",
|
||||
Type: []string{"string"},
|
||||
@@ -514,7 +514,7 @@ func schema_pkg_apis_scope_v0alpha1_TreeItem(ref common.ReferenceCallback) commo
|
||||
Enum: []interface{}{"scope"},
|
||||
},
|
||||
},
|
||||
"linkID": {
|
||||
"linkId": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "scope (later more things)",
|
||||
Type: []string{"string"},
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,ScopeNodeSpec,LinkID
|
||||
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,TreeItem,LinkID
|
||||
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,TreeItem,NodeID
|
||||
|
||||
Reference in New Issue
Block a user