remove duplicate hardcoded strings

Bug #1579240 reported by Vijendar Komalla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-solumclient
Fix Released
Undecided
Erik Schilling

Bug Description

There are many places where following error message is hardcoded. This needs refactor.
Names must be 1-100 characters long, only contain a-z,0-9,-,_ and start with an alphabet character.

Changed in python-solumclient:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
tags: added: low-hanging-fruit
Changed in python-solumclient:
assignee: Vijendar Komalla (vijendar-komalla) → nobody
assignee: nobody → Erik Schilling (ablu-erikschilling-q)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-solumclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/319584

Changed in python-solumclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-solumclient (master)

Reviewed: https://review.openstack.org/319584
Committed: https://git.openstack.org/cgit/openstack/python-solumclient/commit/?id=335f749e0f90fd25c645a41d06c4f400465f02ee
Submitter: Jenkins
Branch: master

commit 335f749e0f90fd25c645a41d06c4f400465f02ee
Author: Erik Schilling <email address hidden>
Date: Sat May 21 10:56:03 2016 +0200

    Deduplicated error messages regarding invalid names

    One error message was not exactly the same, but the code also
    checked for a leading alpha-numeric. So I fixed that message.

    Closes-Bug: #1579240

    Change-Id: Iebd73af7a9ec1f6df90f1559659931782c7d5ec5

Changed in python-solumclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-solumclient 2.1.0

This issue was fixed in the openstack/python-solumclient 2.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.