Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions client/client.container.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import (
)

// ContainerCreate creates a new container.
//
// Note: options.Config must not be nil. The SDK assumes a valid container
// configuration and does not perform nil checks.
func (c *sdkClient) ContainerCreate(ctx context.Context, options client.ContainerCreateOptions) (client.ContainerCreateResult, error) {
// Add the labels that identify this as a container created by the SDK.
AddSDKLabels(options.Config.Labels)
Expand Down
Loading