Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
zabbix
Commits
348bf9ac
Commit
348bf9ac
authored
Oct 01, 2018
by
Robin Sonnabend
Browse files
Remove print from partition-cleanup.py
parent
9cba0581
Pipeline
#243
failed with stages
in 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
zabbix-server/files/partition-cleanup.py
View file @
348bf9ac
...
@@ -54,7 +54,6 @@ if __name__ == "__main__":
...
@@ -54,7 +54,6 @@ if __name__ == "__main__":
if
arguments
.
dryrun
:
if
arguments
.
dryrun
:
print
(
"Would drop partition {}."
.
format
(
partition_name
))
print
(
"Would drop partition {}."
.
format
(
partition_name
))
else
:
else
:
print
(
"Dropping partition {}."
.
format
(
partition_name
))
delete_partition
(
connection
,
partition_name
,
delete_partition
(
connection
,
partition_name
,
partitions_schema
=
arguments
.
partitions_schema
)
partitions_schema
=
arguments
.
partitions_schema
)
connection
.
close
()
connection
.
close
()
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