Skip to content

Commit 038ac12

Browse files
authored
Merge branch 'cconklin/oci-nosql-go-sdk' into cconklin/oci-config-file
2 parents 65143c7 + d15f318 commit 038ac12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

v3/integrations/nroci/nrocinosql.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ func NRConfigFromFile(mode string, configFile string, ociProfile ...string) (*Co
9898
}, nil
9999
}
100100

101+
func NRConfig(cfg *nosqldb.Config) (*ConfigWrapper, error) {
102+
return &ConfigWrapper{
103+
Config: cfg,
104+
}, nil
105+
}
106+
101107
func NRCreateClient(cfg *ConfigWrapper) (*ClientWrapper, error) {
102108
client, err := nosqldb.NewClient(*cfg.Config)
103109
if err != nil {

0 commit comments

Comments
 (0)