ICU-11661 Add scope name in options slice for authorized-sessions (#5108)

pull/5114/head
Ryan Derr 2 years ago committed by GitHub
parent 390fca3306
commit 913e6d755f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -315,6 +315,9 @@ func extraFlagsHandlingFuncImpl(c *Command, _ *base.FlagSets, opts *[]targets.Op
if strutil.StrListContains(flagsMap[c.Func], "scope-id") && c.FlagScopeId != "" {
*opts = append(*opts, targets.WithScopeId(c.FlagScopeId))
}
if strutil.StrListContains(flagsMap[c.Func], "scope-name") && c.FlagScopeName != "" {
*opts = append(*opts, targets.WithScopeName(c.FlagScopeName))
}
switch c.Func {
case "add-host-sources", "remove-host-sources":

Loading…
Cancel
Save