forked from Ivasoft/traefik
feat: raw map parser.
This commit is contained in:
committed by
Traefiker Bot
parent
0186c31d59
commit
c42f1b7a50
@@ -19,12 +19,7 @@ func Decode(labels map[string]string, element interface{}, rootName string, filt
|
||||
return err
|
||||
}
|
||||
|
||||
err = Fill(element, node, FillerOpts{AllowSliceAsStruct: true})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return Fill(element, node, FillerOpts{AllowSliceAsStruct: true})
|
||||
}
|
||||
|
||||
// Encode converts an element to labels.
|
||||
|
||||
Reference in New Issue
Block a user