Skip to content

Commit 7f0573d

Browse files
committed
PR11468: fix pre-commit errors
1 parent 88cf9c3 commit 7f0573d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ repos:
4848
exclude: >
4949
(?x)
5050
^scripts/vm/systemvm/id_rsa\.cloud$|
51+
^server/src/test/java/org/apache/cloudstack/network/ssl/CertServiceTest.java$|
5152
^server/src/test/java/com/cloud/keystore/KeystoreTest\.java$|
5253
^server/src/test/resources/certs/dsa_self_signed\.key$|
5354
^server/src/test/resources/certs/non_root\.key$|
@@ -57,7 +58,8 @@ repos:
5758
^server/src/test/resources/certs/rsa_self_signed\.key$|
5859
^services/console-proxy/rdpconsole/src/test/doc/rdp-key\.pem$|
5960
^systemvm/agent/certs/localhost\.key$|
60-
^systemvm/agent/certs/realhostip\.key$
61+
^systemvm/agent/certs/realhostip\.key$|
62+
^test/integration/smoke/test_ssl_offloading.py$
6163
- id: end-of-file-fixer
6264
exclude: \.vhd$
6365
- id: fix-byte-order-marker
@@ -75,7 +77,7 @@ repos:
7577
name: run codespell
7678
description: Check spelling with codespell
7779
args: [--ignore-words=.github/linters/codespell.txt]
78-
exclude: ^systemvm/agent/noVNC/|^ui/package\.json$|^ui/package-lock\.json$|^ui/public/js/less\.min\.js$|^ui/public/locales/.*[^n].*\.json$
80+
exclude: ^systemvm/agent/noVNC/|^ui/package\.json$|^ui/package-lock\.json$|^ui/public/js/less\.min\.js$|^ui/public/locales/.*[^n].*\.json$|^server/src/test/java/org/apache/cloudstack/network/ssl/CertServiceTest.java$|^test/integration/smoke/test_ssl_offloading.py$
7981
- repo: https://github.com/pycqa/flake8
8082
rev: 7.0.0
8183
hooks:

ui/src/views/network/LoadBalancing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ export default {
11661166
fetchSslCerts () {
11671167
this.sslcerts.loading = true
11681168
this.sslcerts.data = []
1169-
// Firt get the account id
1169+
// First get the account id
11701170
api('listAccounts', {
11711171
name: this.resource.account,
11721172
domainid: this.resource.domainid

0 commit comments

Comments
 (0)