From 75c710ef1c07a89dca5d1f291968683af8eee3ff Mon Sep 17 00:00:00 2001 From: Sergey Kraynev Date: Wed, 20 Jul 2016 18:49:36 +0300 Subject: [PATCH] Make patch_id field type 'integer' This fiels should be integer, because it allows user clearly understand, what exactly he should specify here. For example for patch: https://review.fuel-infra.org/#/c/20409/ it should be number: 20409 . Change-Id: I0e28eed0a08472ded26bbaae7c50f848b5a5bd00 --- murano-apps/SystemConfig/package/Classes/SystemConfig.yaml | 2 +- murano-apps/SystemConfig/package/UI/ui.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml b/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml index c823648..ac20cad 100644 --- a/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml +++ b/murano-apps/SystemConfig/package/Classes/SystemConfig.yaml @@ -21,7 +21,7 @@ Properties: Contract: $.string() Default: 'stable' patchId: - Contract: $.string() + Contract: $.int() Methods: installOnTheNode: Arguments: diff --git a/murano-apps/SystemConfig/package/UI/ui.yaml b/murano-apps/SystemConfig/package/UI/ui.yaml index 146f967..84f822b 100644 --- a/murano-apps/SystemConfig/package/UI/ui.yaml +++ b/murano-apps/SystemConfig/package/UI/ui.yaml @@ -35,10 +35,10 @@ Forms: initial: stable type: string label: Branch Name - description: Provide branch, which should be used for for system-config repo. + description: Provide branch, which should be used for system-config repo. required: false - name: patchId - type: string + type: integer label: Patch Id description: Provide Id of patchset, which will be used for system-config repo. required: false