Skip to content

Commit ea34f30

Browse files
fix(jenkins): address golangci-lint issues in primary_view migration
1 parent 8749a36 commit ea34f30

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

backend/plugins/jenkins/models/migrationscripts/20260602_expand_primary_view.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
package migrationscripts
219

320
import (

config-ui/src/plugins/register/jira/connection-fields/auth.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const Auth = ({ type, initialValues, values, setValues, setErrors }: Prop
124124
<Block title="Jira Version" required>
125125
<Radio.Group value={version} onChange={handleChangeVersion}>
126126
<Radio value="cloud">Jira Cloud</Radio>
127-
<Radio value="server">Jira Server</Radio>
127+
<Radio value="server">Jira Data Center</Radio>
128128
</Radio.Group>
129129

130130
<Block
@@ -136,7 +136,7 @@ export const Auth = ({ type, initialValues, values, setValues, setErrors }: Prop
136136
? 'Provide the Jira instance API endpoint. For Jira Cloud, e.g. https://your-company.atlassian.net/rest/. Please note that the endpoint URL should end with /.'
137137
: ''}
138138
{version === 'server'
139-
? 'Provide the Jira instance API endpoint. For Jira Server, e.g. https://jira.your-company.com/rest/. Please note that the endpoint URL should end with /.'
139+
? 'Provide the Jira instance API endpoint. For Jira Data Center, e.g. https://jira.your-company.com/rest/. Please note that the endpoint URL should end with /.'
140140
: ''}
141141
</>
142142
}

0 commit comments

Comments
 (0)