Chore: Update golang.org/x/ and do not omitempty Items (#105371)
* deps and omitempty Items * update apis
This commit is contained in:
@@ -45,5 +45,5 @@ type DataSourceApiServerList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ListMeta `json:"metadata,omitempty"`
|
||||
|
||||
Items []DataSourceApiServer `json:"items,omitempty"`
|
||||
Items []DataSourceApiServer `json:"items"`
|
||||
}
|
||||
|
||||
@@ -3,9 +3,10 @@ package v0alpha1
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
"github.com/grafana/grafana-plugin-sdk-go/backend"
|
||||
data "github.com/grafana/grafana-plugin-sdk-go/experimental/apis/data/v0alpha1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// Generic query request with shared time across all values
|
||||
@@ -55,5 +56,5 @@ type QueryTypeDefinitionList struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ListMeta `json:"metadata,omitempty"`
|
||||
|
||||
Items []QueryTypeDefinition `json:"items,omitempty"`
|
||||
Items []QueryTypeDefinition `json:"items"`
|
||||
}
|
||||
|
||||
@@ -144,6 +144,7 @@ func schema_pkg_apis_query_v0alpha1_DataSourceApiServerList(ref common.Reference
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"items"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
@@ -343,6 +344,7 @@ func schema_pkg_apis_query_v0alpha1_QueryTypeDefinitionList(ref common.Reference
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"items"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
||||
Reference in New Issue
Block a user