internal/boot: Make some function public
More specifically only those that are needed in /cmd/osbuild-image/tests. This patch can be merged with the previous one if we want to make sure every commit can be built, but I'm going to keep it like this for now so that we can easily see the changes.
This commit is contained in:
parent
ec6ce8387d
commit
125fce92db
6 changed files with 62 additions and 61 deletions
|
|
@ -156,7 +156,7 @@ func deleteResource(client resources.Client, id string, apiVersion string) error
|
|||
return nil
|
||||
}
|
||||
|
||||
// withBootedImageInAzure runs the function f in the context of booted
|
||||
// WithBootedImageInAzure runs the function f in the context of booted
|
||||
// image in Azure
|
||||
func WithBootedImageInAzure(creds *azureCredentials, imageName, testId, publicKeyFile string, f func(address string) error) (retErr error) {
|
||||
publicKey, err := readPublicKey(publicKeyFile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue