Skip to content

Commit dee3f44

Browse files
committed
Merge branch 'feat/six-pm-release' of github.com:devtron-labs/dashboard into feat/webhook-external-image
2 parents 7971ec1 + 3aa9a01 commit dee3f44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/material/CreateMaterial.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ export class CreateMaterial extends Component<CreateMaterialProps, CreateMateria
119119

120120
const res = this.props.providers?.filter((provider) => provider?.id == selectedId) || []
121121

122-
if (res[0]?.authMode != 'SSH' && !url.startsWith('https')) {
123-
return "Git Repo URL must start with 'http' or 'https:'"
122+
if (res[0]?.authMode != 'SSH' && !url.startsWith('http')) {
123+
return "Git Repo URL must start with 'http' or 'https'"
124124
}
125125

126126
if (res[0]?.authMode === 'SSH' && !url.includes('@')) {

src/components/material/UpdateMaterial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class UpdateMaterial extends Component<UpdateMaterialProps, UpdateMateria
128128
const res = this.props.providers?.filter((provider) => provider?.id === selectedId)
129129

130130
if (res[0]?.authMode != 'SSH' && !url.startsWith('http')) {
131-
return "Git Repo URL must start with 'http' or 'https:'"
131+
return "Git Repo URL must start with 'http' or 'https'"
132132
}
133133

134134
if (res[0]?.authMode === 'SSH' && !url.includes('@')) {

0 commit comments

Comments
 (0)