Skip to content

Commit 98bb4af

Browse files
committed
Fix linter
1 parent fe3e914 commit 98bb4af

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

plugins/integrations/kubernetes-service/src/main/resources/conf/etcd-node.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ write_files:
3030
owner: root:root
3131
content: |
3232
#!/bin/bash -e
33-
33+
3434
if [[ -f "/home/cloud/success" ]]; then
3535
echo "Already provisioned!"
3636
exit 0
3737
fi
38-
38+
3939
ISO_MOUNT_DIR=/mnt/etcddisk
4040
BINARIES_DIR=${ISO_MOUNT_DIR}/
4141
ATTEMPT_ONLINE_INSTALL=false
4242
setup_complete=false
43-
43+
4444
OFFLINE_INSTALL_ATTEMPT_SLEEP={{ k8s.install.wait.time }}
4545
MAX_OFFLINE_INSTALL_ATTEMPTS={{ k8s.install.reattempts.count }}
4646
if [[ -z $OFFLINE_INSTALL_ATTEMPT_SLEEP || $OFFLINE_INSTALL_ATTEMPT_SLEEP -eq 0 ]]; then
@@ -89,7 +89,7 @@ write_files:
8989
sleep $OFFLINE_INSTALL_ATTEMPT_SLEEP
9090
offline_attempts=$[$offline_attempts + 1]
9191
done
92-
92+
9393
if [[ "$PATH" != *:/opt/bin && "$PATH" != *:/opt/bin:* ]]; then
9494
export PATH=$PATH:/opt/bin
9595
fi

plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-control-node.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ write_files:
250250
etcd:
251251
external:
252252
endpoints:
253-
{{ etcd.etcd_endpoint_list }}
253+
{{ etcd.etcd_endpoint_list }}
254254
---
255255
apiVersion: kubeadm.k8s.io/v1beta3
256256
kind: InitConfiguration
@@ -263,7 +263,7 @@ write_files:
263263
advertiseAddress: {{ k8s_control.server_ip }}
264264
bindPort: {{ k8s.api_server_port }}
265265
certificateKey: {{ k8s_control.certificate_key }}
266-
266+
267267
268268
- path: /opt/bin/deploy-kube-system
269269
permissions: '0700'
@@ -340,7 +340,7 @@ write_files:
340340
sudo touch /home/cloud/success
341341
echo "true" > /home/cloud/success
342342
343-
{% if registry is defined %}
343+
{% if registry is defined %}
344344
- path: /opt/bin/setup-containerd
345345
permissions: '0755'
346346
owner: root:root
@@ -358,7 +358,7 @@ write_files:
358358
echo "Restarting containerd service"
359359
systemctl daemon-reload
360360
systemctl restart containerd
361-
{% endif %}
361+
{% endif %}
362362

363363
- path: /etc/systemd/system/deploy-kube-system.service
364364
permissions: '0755'

server/src/main/java/com/cloud/server/ManagementServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4890,7 +4890,7 @@ public Pair<List<? extends UserData>, Integer> listUserDatas(final ListUserDataC
48904890
}
48914891

48924892
@Override
4893-
@ActionEvent(eventType = EventTypes.EVENT_REGISTER_CNI_CONFIG, eventDescription = "registering CNI configration", async = true)
4893+
@ActionEvent(eventType = EventTypes.EVENT_REGISTER_CNI_CONFIG, eventDescription = "registering CNI configuration", async = true)
48944894
public UserData registerCniConfiguration(RegisterCniConfigurationCmd cmd) {
48954895
final Account owner = getOwner(cmd);
48964896
checkForUserDataByName(cmd, owner);

tools/appliance/cks/ubuntu/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function prepare() {
201201
function packer_build() {
202202
log INFO "building new image with packer"
203203
#cd ${appliance_build_name} && packer build template.json && cd ..
204-
cd 22.04 && packer build ${appliance_build_name}.json && cd ..
204+
cd 22.04 && packer build ${appliance_build_name}.json && cd ..
205205
}
206206

207207
function stage_vmx() {

0 commit comments

Comments
 (0)