-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initdata: refactor and fix lint errors
Fixes: #1985 Signed-off-by: Qi Feng Huo <[email protected]>
- Loading branch information
Qi Feng Huo
committed
Aug 15, 2024
1 parent
feb8351
commit 3feaa88
Showing
11 changed files
with
29 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -320,12 +320,12 @@ func (lio *LibvirtInstallOverlay) Edit(ctx context.Context, cfg *envconf.Config, | |
|
||
// Mapping the internal properties to ConfigMapGenerator properties and their default values. | ||
mapProps := map[string][2]string{ | ||
"network": {"default", "LIBVIRT_NET"}, | ||
"storage": {"default", "LIBVIRT_POOL"}, | ||
"pause_image": {"", "PAUSE_IMAGE"}, | ||
"podvm_volume": {"", "LIBVIRT_VOL_NAME"}, | ||
"uri": {"qemu+ssh://[email protected]/system?no_verify=1", "LIBVIRT_URI"}, | ||
"vxlan_port": {"", "VXLAN_PORT"}, | ||
"network": {"default", "LIBVIRT_NET"}, | ||
"storage": {"default", "LIBVIRT_POOL"}, | ||
"pause_image": {"", "PAUSE_IMAGE"}, | ||
"podvm_volume": {"", "LIBVIRT_VOL_NAME"}, | ||
"uri": {"qemu+ssh://[email protected]/system?no_verify=1", "LIBVIRT_URI"}, | ||
"vxlan_port": {"", "VXLAN_PORT"}, | ||
} | ||
|
||
for k, v := range mapProps { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters