Skip to content

Commit

Permalink
remove test data
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobnguyenn committed Aug 29, 2023
1 parent ed52641 commit 235b772
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package api

import (
"context"
"fmt"
"net"
"net/http"
"strings"
Expand Down Expand Up @@ -70,10 +69,7 @@ func (s *server) Serve(ctx context.Context, l net.Listener) error {
},
}
providers := strings.Split(os.GetEnv("GORYA_ENABLED_PROVIDERS", ""), ",")
fmt.Printf("providers: %v\n", providers)
ticker := time.NewTicker(30 * time.Second)
c.credentialRef["priv-sa@target-project-397310.iam.gserviceaccount.com"] = true
c.credentialRef["arn:aws:iam::043159268388:role/test"] = true
for _, provider := range providers {
if provider != constants.PROVIDER_AWS && provider != constants.PROVIDER_GCP && provider != constants.PROVIDER_AZURE {
continue
Expand Down

0 comments on commit 235b772

Please sign in to comment.