Created
May 2, 2022 15:04
-
-
Save ncomet/944fcabc07f28b0b6601a06085256238 to your computer and use it in GitHub Desktop.
setup function
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
func setup(ctx context.Context, image image) (*container, error) { | |
cont, uri, err := prepareContainer(ctx, image) | |
if err != nil { | |
return nil, err | |
} | |
return &container{Container: cont, URI: uri}, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment