Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
ba0bc779
Commit
ba0bc779
authored
May 11, 2021
by
Julien Muchembled
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neoctl: fix tweak command when used without any argument
parent
de0feb4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
neo/neoctl/app.py
neo/neoctl/app.py
+1
-1
No files found.
neo/neoctl/app.py
View file @
ba0bc779
...
@@ -220,7 +220,7 @@ class TerminalNeoCTL(object):
...
@@ -220,7 +220,7 @@ class TerminalNeoCTL(object):
Parameters: [-n] [node [...]]
Parameters: [-n] [node [...]]
-n: dry run
-n: dry run
"""
"""
dry_run
=
params
[
0
]
==
'-n'
dry_run
=
params
[
0
]
==
'-n'
if
params
else
False
changed
,
row_list
=
self
.
neoctl
.
tweakPartitionTable
(
changed
,
row_list
=
self
.
neoctl
.
tweakPartitionTable
(
map
(
self
.
asNode
,
params
[
dry_run
:]),
dry_run
)
map
(
self
.
asNode
,
params
[
dry_run
:]),
dry_run
)
if
changed
:
if
changed
:
...
...
Julien Muchembled
@jm
mentioned in commit
0c8e3085
·
May 11, 2021
mentioned in commit
0c8e3085
mentioned in commit 0c8e308508d40d761cd88e006bf8513d16af0553
Toggle commit list
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