Bump reva to commit after ldap bump
Fixes build
This commit is contained in:
+1
-1
@@ -349,7 +349,7 @@ func (cfg *sharedConfig) setFromIniFiles(profiles map[string]struct{}, profile s
|
||||
if cfg.hasSSOTokenProviderConfiguration() {
|
||||
skippedFiles = 0
|
||||
for _, f := range files {
|
||||
section, ok := f.IniData.GetSection(fmt.Sprintf(ssoSectionPrefix + strings.TrimSpace(cfg.SSOSessionName)))
|
||||
section, ok := f.IniData.GetSection(ssoSectionPrefix + strings.TrimSpace(cfg.SSOSessionName))
|
||||
if ok {
|
||||
var ssoSession ssoSession
|
||||
ssoSession.setFromIniSection(section)
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ package aws
|
||||
const SDKName = "aws-sdk-go"
|
||||
|
||||
// SDKVersion is the version of this SDK
|
||||
const SDKVersion = "1.55.5"
|
||||
const SDKVersion = "1.55.6"
|
||||
|
||||
+13
@@ -1,3 +1,16 @@
|
||||
Release 1.5.0
|
||||
=============
|
||||
|
||||
**Changes**
|
||||
|
||||
* Added `Element` function `CreateChild`, which calls a continuation function
|
||||
after creating and adding a child element.
|
||||
|
||||
**Fixes**
|
||||
|
||||
* Removed a potential conflict between two `ReadSettings` values. When
|
||||
`AttrSingleQuote` is true, `CanonicalAttrVal` is forced to be false.
|
||||
|
||||
Release 1.4.1
|
||||
=============
|
||||
|
||||
|
||||
+26
-4
@@ -113,7 +113,8 @@ type WriteSettings struct {
|
||||
|
||||
// CanonicalAttrVal forces the production of XML character references for
|
||||
// attribute value characters &, < and ". If false, XML character
|
||||
// references are also produced for > and '. Default: false.
|
||||
// references are also produced for > and '. Ignored when AttrSingleQuote
|
||||
// is true. Default: false.
|
||||
CanonicalAttrVal bool
|
||||
|
||||
// AttrSingleQuote causes attributes to use single quotes (attr='example')
|
||||
@@ -751,13 +752,34 @@ func (e *Element) findTermCharDataIndex(start int) int {
|
||||
}
|
||||
|
||||
// CreateElement creates a new element with the specified tag (i.e., name) and
|
||||
// adds it as the last child token of this element. The tag may include a
|
||||
// prefix followed by a colon.
|
||||
// adds it as the last child of element 'e'. The tag may include a prefix
|
||||
// followed by a colon.
|
||||
func (e *Element) CreateElement(tag string) *Element {
|
||||
space, stag := spaceDecompose(tag)
|
||||
return newElement(space, stag, e)
|
||||
}
|
||||
|
||||
// CreateChild performs the same task as CreateElement but calls a
|
||||
// continuation function after the child element is created, allowing
|
||||
// additional actions to be performed on the child element before returning.
|
||||
//
|
||||
// This method of element creation is particularly useful when building nested
|
||||
// XML documents from code. For example:
|
||||
//
|
||||
// org := doc.CreateChild("organization", func(e *Element) {
|
||||
// e.CreateComment("Mary")
|
||||
// e.CreateChild("person", func(e *Element) {
|
||||
// e.CreateAttr("name", "Mary")
|
||||
// e.CreateAttr("age", "30")
|
||||
// e.CreateAttr("hair", "brown")
|
||||
// })
|
||||
// })
|
||||
func (e *Element) CreateChild(tag string, cont func(e *Element)) *Element {
|
||||
child := e.CreateElement(tag)
|
||||
cont(child)
|
||||
return child
|
||||
}
|
||||
|
||||
// AddChild adds the token 't' as the last child of the element. If token 't'
|
||||
// was already the child of another element, it is first removed from its
|
||||
// parent element.
|
||||
@@ -1463,7 +1485,7 @@ func (a *Attr) WriteTo(w Writer, s *WriteSettings) {
|
||||
w.WriteString(`="`)
|
||||
}
|
||||
var m escapeMode
|
||||
if s.CanonicalAttrVal {
|
||||
if s.CanonicalAttrVal && !s.AttrSingleQuote {
|
||||
m = escapeCanonicalAttr
|
||||
} else {
|
||||
m = escapeNormal
|
||||
|
||||
+1
@@ -599,6 +599,7 @@ assimilate:
|
||||
attributes.SetInt64(prefixes.BlobsizeAttr, fi.Size())
|
||||
attributes.SetInt64(prefixes.TypeAttr, int64(provider.ResourceType_RESOURCE_TYPE_FILE))
|
||||
}
|
||||
attributes.SetTime(prefixes.MTimeAttr, fi.ModTime())
|
||||
|
||||
n := node.New(spaceID, id, parentID, filepath.Base(path), fi.Size(), "", provider.ResourceType_RESOURCE_TYPE_FILE, nil, t.lookup)
|
||||
n.SpaceRoot = &node.Node{SpaceID: spaceID, ID: spaceID}
|
||||
|
||||
+4
@@ -344,3 +344,7 @@ func (c *ConnWithReconnect) Syncrepl(ctx context.Context, searchRequest *ldap.Se
|
||||
// unimplemented
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *ConnWithReconnect) Extended(_ *ldap.ExtendedRequest) (*ldap.ExtendedResponse, error) {
|
||||
return nil, ldap.NewError(ldap.LDAPResultNotSupported, fmt.Errorf("not implemented"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user