From f4fc35b4d379eb668f75c463e62cf59299127a1c Mon Sep 17 00:00:00 2001 From: Micah Martin Date: Fri, 10 Dec 2021 10:12:45 -0500 Subject: [PATCH] fixed ng connector serialization --- .harness/ci.yaml | 2 +- harness/nextgen/model_git_ssh_authentication.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.harness/ci.yaml b/.harness/ci.yaml index 06831162..35cb23bc 100644 --- a/.harness/ci.yaml +++ b/.harness/ci.yaml @@ -165,7 +165,7 @@ pipeline: codebase: repoName: harness-go-sdk connectorRef: org.githubharnessio - build: <+input> + build: <+input> projectIdentifier: harness_go_sdk orgIdentifier: Micahs_Projects name: ci diff --git a/harness/nextgen/model_git_ssh_authentication.go b/harness/nextgen/model_git_ssh_authentication.go index e9f67ed2..0b433568 100644 --- a/harness/nextgen/model_git_ssh_authentication.go +++ b/harness/nextgen/model_git_ssh_authentication.go @@ -11,6 +11,6 @@ package nextgen // This contains details of the Generic Git authentication information used via SSH connections type GitSshAuthentication struct { - Type_ string `json:"type"` + Type_ string `json:"-"` SshKeyRef string `json:"sshKeyRef"` }