Skip to content

Commit

Permalink
Rename address to host for ssh tunnel (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
danafallon authored Aug 15, 2024
1 parent 38403dc commit aaa1d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/artieclient/ssh_tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type SSHTunnel struct {
UUID uuid.UUID `json:"uuid"`
Name string `json:"name"`
Host string `json:"address"`
Host string `json:"host"`
Port int32 `json:"port"`
Username string `json:"username"`
PublicKey string `json:"publicKey"`
Expand All @@ -37,7 +37,7 @@ func (sc SSHTunnelClient) Get(ctx context.Context, sshTunnelUUID string) (SSHTun
func (sc SSHTunnelClient) Create(ctx context.Context, name, host, username string, port int32) (SSHTunnel, error) {
body := map[string]any{
"name": name,
"address": host,
"host": host,
"port": port,
"username": username,
}
Expand Down

0 comments on commit aaa1d53

Please sign in to comment.