github.com/thanos-io/thanos@v0.32.5/internal/cortex/tenant/tenant.go (about)

     1  // Copyright (c) The Cortex Authors.
     2  // Licensed under the Apache License 2.0.
     3  
     4  package tenant
     5  
     6  import (
     7  	"strings"
     8  )
     9  
    10  const tenantIDsLabelSeparator = "|"
    11  
    12  func JoinTenantIDs(tenantIDs []string) string {
    13  	return strings.Join(tenantIDs, tenantIDsLabelSeparator)
    14  }