forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libvmi: rename WithCloudInitConfigDriveData consistently
The names of all other WithCloudInit* functions that set the UserData field end with `UserData`, not place `Data`. Let us conform. There are too many WithCloudInit* functions with long confusing names. This is left as a future excercise. Signed-off-by: Dan Kenigsberg <[email protected]>
- Loading branch information
1 parent
b97c9e2
commit e2b38db
Showing
3 changed files
with
4 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,7 +220,7 @@ var _ = Describe("[rfe_id:151][crit:high][vendor:[email protected]][level:compon | |
"#cloud-config\npassword: %s\nchpasswd: { expire: False }", | ||
fedoraPassword, | ||
) | ||
vmi := libvmi.NewFedora(libvmi.WithCloudInitConfigDriveData(userData)) | ||
vmi := libvmi.NewFedora(libvmi.WithCloudInitConfigDriveUserData(userData)) | ||
// runStrategy := v1.RunStrategyManual | ||
vm := &v1.VirtualMachine{ | ||
ObjectMeta: vmi.ObjectMeta, | ||
|