1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 06:56:29 +00:00

go mod and vendor changes

This commit is contained in:
rajashree
2020-02-18 11:17:29 -08:00
parent 4e38cdf825
commit 7e603d411a
404 changed files with 55774 additions and 53750 deletions

View File

@@ -341,7 +341,7 @@ func describeStruct(ctx *ctx, typ reflect2.Type) *StructDescriptor {
if ctx.onlyTaggedField && !hastag && !field.Anonymous() {
continue
}
if tag == "-" {
if tag == "-" || field.Name() == "_" {
continue
}
tagParts := strings.Split(tag, ",")