Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anil-intelops committed Aug 19, 2023
1 parent dab0a04 commit 198b5e6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion capten/agent/pkg/workers/climon.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ func (c *Climon) SendInstallAppEvent(ctx context.Context, action string, payload
return nil, err
}

log.Printf("payload : %v", string(payloadJSON))
we, err := c.client.TemporalClient.ExecuteWorkflow(context.Background(), options, DeployWorkflowName, action, json.RawMessage(payloadJSON))
if err != nil {
log.Println("error starting workflow", err)
Expand Down
2 changes: 1 addition & 1 deletion server/pkg/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

const (
organizationIDAttribute = "organizationid"
clusterIDAttribute = "organizationid"
clusterIDAttribute = "clusterid"
)

type Server struct {
Expand Down
2 changes: 1 addition & 1 deletion server/pkg/store/astra/cluster_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (a *AstraServerStore) GetClusterDetails(clusterID string) (*types.ClusterDe
q := &pb.Query{
Cql: fmt.Sprintf(getClusterDetailsQuery, a.keyspace, clusterID),
}
fmt.Println("Query => ", q)

response, err := a.c.Session().ExecuteQuery(q)
if err != nil {
return nil, err
Expand Down
2 changes: 0 additions & 2 deletions server/pkg/store/astra/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ func (a *AstraServerStore) InitializeDb() error {
Cql: query,
}

fmt.Println(createQuery)

_, err := a.c.Session().ExecuteQuery(createQuery)
if err != nil {
return fmt.Errorf("failed to initialise db: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion server/storeconfig/loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OverrideValues:
promtail:
config:
clients:
- url: http://{{ .Release.Name }}:3100/loki/api/v1/push
- url: http://localhost:3100/loki/api/v1/push
external_labels:
cluster_name: capten-controlplane

Expand Down

0 comments on commit 198b5e6

Please sign in to comment.