Skip to content

Commit 6bdf26c

Browse files
committed
Add all safe auto corrects
1 parent 6684808 commit 6bdf26c

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

spec/classes/config/kubeadm_spec.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
let(:pre_condition) { 'include kubernetes' }
66
let(:facts) do
77
{
8-
:kernel => 'Linux',
9-
:networking => {
10-
:hostname => 'foo',
8+
kernel: 'Linux',
9+
networking: {
10+
hostname: 'foo',
1111
},
12-
:os => {
13-
:family => 'Debian',
14-
:name => 'Ubuntu',
15-
:release => {
16-
:full => '16.04',
12+
os: {
13+
family: 'Debian',
14+
name: 'Ubuntu',
15+
release: {
16+
full: '16.04',
1717
},
18-
:distro => {
19-
:codename => 'xenial',
18+
distro: {
19+
codename: 'xenial',
2020
},
2121
},
22-
:ec2_metadata => {
23-
:hostname => 'ip-10-10-10-1.ec2.internal',
22+
ec2_metadata: {
23+
hostname: 'ip-10-10-10-1.ec2.internal',
2424
},
2525
}
2626
end

spec/classes/config/worker_spec.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
let(:pre_condition) { 'include kubernetes' }
66
let(:facts) do
77
{
8-
:kernel => 'Linux',
9-
:networking => {
10-
:hostname => 'foo',
8+
kernel: 'Linux',
9+
networking: {
10+
hostname: 'foo',
1111
},
12-
:os => {
13-
:family => 'Debian',
14-
:name => 'Ubuntu',
15-
:release => {
16-
:full => '16.04',
12+
os: {
13+
family: 'Debian',
14+
name: 'Ubuntu',
15+
release: {
16+
full: '16.04',
1717
},
18-
:distro => {
19-
:codename => 'xenial',
18+
distro: {
19+
codename: 'xenial',
2020
},
2121
},
22-
:ec2_metadata => {
23-
:hostname => 'ip-10-10-10-1.ec2.internal',
22+
ec2_metadata: {
23+
hostname: 'ip-10-10-10-1.ec2.internal',
2424
},
2525
}
2626
end

0 commit comments

Comments
 (0)