Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
fix maestro
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Ram <shashr2204@gmail.com>
  • Loading branch information
shashankram committed Jul 15, 2022
1 parent 3353f54 commit 0dd11db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ci/cmd/maestro.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const (
// Pod labels
bookBuyerLabel = "bookbuyer"
bookThiefLabel = "bookthief"
bookstoreV1Label = "bookstore-v1"
bookstoreV2Label = "bookstore-v2"
bookstoreLabel = "bookstore"
bookWarehouseLabel = "bookwarehouse"
mySQLLabel = "mysql"
)
Expand All @@ -37,8 +36,8 @@ var (
osmControllerPodSelector = fmt.Sprintf("%s=%s", constants.AppLabel, constants.OSMControllerName)
bookThiefSelector = fmt.Sprintf("%s=%s", constants.AppLabel, bookThiefLabel)
bookBuyerSelector = fmt.Sprintf("%s=%s", constants.AppLabel, bookBuyerLabel)
bookstoreV1Selector = fmt.Sprintf("%s=%s", constants.AppLabel, bookstoreV1Label)
bookstoreV2Selector = fmt.Sprintf("%s=%s", constants.AppLabel, bookstoreV2Label)
bookstoreV1Selector = fmt.Sprintf("%s=%s,version=v1", constants.AppLabel, bookstoreLabel)
bookstoreV2Selector = fmt.Sprintf("%s=%s,version=v2", constants.AppLabel, bookstoreLabel)
bookWarehouseSelector = fmt.Sprintf("%s=%s", constants.AppLabel, bookWarehouseLabel)
mySQLSelector = fmt.Sprintf("%s=%s", constants.AppLabel, mySQLLabel)

Expand All @@ -61,7 +60,7 @@ var (
)

func main() {
log.Debug().Msgf("Looking for: %s/%s, %s/%s, %s/%s, %s/%s, %s/%s %s/%s", bookBuyerLabel, bookbuyerNS, bookThiefLabel, bookthiefNS, bookstoreV1Label, bookstoreNS, bookstoreV2Label, bookstoreNS, bookWarehouseLabel, bookWarehouseNS, mySQLLabel, bookWarehouseNS)
log.Debug().Msgf("Looking for: %s/%s, %s/%s, %s/%s, %s/%s %s/%s", bookBuyerLabel, bookbuyerNS, bookThiefLabel, bookthiefNS, bookstoreLabel, bookstoreNS, bookWarehouseLabel, bookWarehouseNS, mySQLLabel, bookWarehouseNS)

kubeClient := maestro.GetKubernetesClient()

Expand Down

0 comments on commit 0dd11db

Please sign in to comment.