diff --git a/bin/swift-dispersion-report b/bin/swift-dispersion-report new file mode 100755 index 0000000000..f49b3034f4 --- /dev/null +++ b/bin/swift-dispersion-report @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# Copyright (c) 2017 Christian Schwede +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import sys + +from swift.cli.dispersion_report import main + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/setup.cfg b/setup.cfg index 8dbdbc3e43..e99d858108 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,6 +41,7 @@ scripts = bin/swift-container-reconciler bin/swift-reconciler-enqueue bin/swift-dispersion-populate + bin/swift-dispersion-report bin/swift-drive-audit bin/swift-form-signature bin/swift-get-nodes @@ -62,9 +63,6 @@ scripts = bin/swift-ring-builder-analyzer bin/swift-temp-url -console_scripts = - swift-dispersion-report = swift.cli.dispersion_report:main - [extras] kms_keymaster = oslo.config>=4.0.0,!=4.3.0,!=4.4.0 # Apache-2.0