Skip to content

Commit

Permalink
Update clientCertAuth.go
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 authored Nov 11, 2024
1 parent 5ba432b commit 0b02fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnmi_server/clientCertAuth.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func PopulateAuthStructByCommonName(certCommonName string, auth *common_utils.Au
return status.Errorf(codes.Unauthenticated, "Service config table name should not be empty")
}

var configDbConnector = swsscommon.NewConfigDBConnector()
var configDbConnector = swsscommon.NewConfigDBConnector_Native()
defer swsscommon.DeleteConfigDBConnector_Native(configDbConnector.ConfigDBConnector_Native)
configDbConnector.Connect(false)

Expand Down

0 comments on commit 0b02fe2

Please sign in to comment.