Skip to content

Commit f0ba14f

Browse files
committed
fix: Rename to clientWrapper
1 parent 148fd57 commit f0ba14f

File tree

1 file changed

+3
-3
lines changed
  • v3/integrations/nroci/example/oci-go-sdk

1 file changed

+3
-3
lines changed

v3/integrations/nroci/example/oci-go-sdk/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func main() {
3030
configPath := filepath.Join(usr.HomeDir, ".oci/config")
3131
configProvider, err := common.ConfigurationProviderFromFile(configPath, "")
3232

33-
configWrapper, err := nroci.NRNewNoSQLClientWithConfigurationProvider(configProvider)
33+
clientWrapper, err := nroci.NRNewNoSQLClientWithConfigurationProvider(configProvider)
3434
if err != nil {
3535
panic(err)
3636
}
@@ -65,13 +65,13 @@ func main() {
6565
Statement: &statement,
6666
},
6767
}
68-
putRes, err := configWrapper.UpdateRow(ctx, putReq)
68+
putRes, err := clientWrapper.UpdateRow(ctx, putReq)
6969
if err != nil {
7070
panic(err)
7171
}
7272
fmt.Printf("UpdateRow row: %v\nresult\n", putRes)
7373

74-
queryRes, err := configWrapper.Query(ctx, queryReq)
74+
queryRes, err := clientWrapper.Query(ctx, queryReq)
7575

7676
if err != nil {
7777
panic(err)

0 commit comments

Comments
 (0)