mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
be3843c8c8
Changes included; - docker/swarmkit#2735 Assign secrets individually to each task - docker/swarmkit#2759 Adding a new `Deallocator` component - docker/swarmkit#2738 Add additional info for secret drivers - docker/swarmkit#2775 Increase grpc max recv message size - addresses moby/moby#37941 - addresses moby/moby#37997 - follow-up to moby/moby#38103 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
202 B
Go
8 lines
202 B
Go
package identity
|
|
|
|
import "fmt"
|
|
|
|
// CombineTwoIDs combines the given IDs into a new ID, e.g. a secret and a task ID.
|
|
func CombineTwoIDs(id1, id2 string) string {
|
|
return fmt.Sprintf("%s.%s", id1, id2)
|
|
}
|