Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

make DNS1123 validation more verbose #524

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

atiratree
Copy link
Contributor

@coveralls
Copy link

coveralls commented Jul 24, 2019

Pull Request Test Coverage Report for Build 2202

  • 41 of 44 (93.18%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 82.711%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/utils/validations.js 28 31 90.32%
Totals Coverage Status
Change from base Build 1862: 0.02%
Covered Lines: 4043
Relevant Lines: 4684

💛 - Coveralls


export const addMissingSubject = (sentence, subject) => {
const c = sentence ? sentence.charAt(0) : '';
return c.toLowerCase() !== c ? sentence : `${_.capitalize(subject)} ${sentence}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vivat future i18n effort :-(

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature is already implemented in both fork and openshift/console. It just doesn't have its own function.

i18n will be resolved once its time comes

@mareklibra
Copy link
Contributor

Needs rebase, otherwise lgtm

@atiratree
Copy link
Contributor Author

rebased

@mareklibra mareklibra merged commit ba2cc18 into kubevirt:master Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants