Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
f2229b8b
Unverified
Commit
f2229b8b
authored
Dec 21, 2023
by
Joshua Gutow
Committed by
GitHub
Dec 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-node: Disable xor requirement on Network and rollup.config flags (#8727)
parent
21d24135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
flags.go
op-service/flags/flags.go
+5
-4
No files found.
op-service/flags/flags.go
View file @
f2229b8b
...
@@ -55,10 +55,11 @@ func CLIRollupConfigFlag(envPrefix string) cli.Flag {
...
@@ -55,10 +55,11 @@ func CLIRollupConfigFlag(envPrefix string) cli.Flag {
// This checks flags that are exclusive & required. Specifically for each
// This checks flags that are exclusive & required. Specifically for each
// set of flags, exactly one flag must be set.
// set of flags, exactly one flag must be set.
var
requiredXorFlags
=
[][]
string
{
var
requiredXorFlags
=
[][]
string
{
{
// TODO(client-pod#391): Re-enable this check at a later point
RollupConfigFlagName
,
// {
NetworkFlagName
,
// RollupConfigFlagName,
},
// NetworkFlagName,
// },
}
}
func
CheckRequiredXor
(
ctx
*
cli
.
Context
)
error
{
func
CheckRequiredXor
(
ctx
*
cli
.
Context
)
error
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment