Updates
Server Deploy / deploy (push) Failing after 9s
Agent Release / build (push) Successful in 1m10s

This commit is contained in:
domrichardson
2026-06-15 14:39:26 +01:00
parent 596bb7ed3d
commit a0813b6e84
3 changed files with 53 additions and 45 deletions
+4
View File
@@ -3,6 +3,7 @@ package grpcclient
import (
"context"
"crypto/tls"
"strings"
"time"
"github.com/mrhid6/keymanager/agent/internal/grpc/pb"
@@ -22,6 +23,9 @@ type Client struct {
}
func New(serverURL string, useTLS bool) (*Client, error) {
serverURL = strings.TrimPrefix(serverURL, "https://")
serverURL = strings.TrimPrefix(serverURL, "http://")
var dialOpts []grpc.DialOption
if useTLS {