Skip to content

Commit

Permalink
added code-review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-qlogic committed Aug 17, 2018
1 parent 454df2f commit a0f23b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions samples/document-snippets/row.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const snippets = {
let apiResponse = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_create_row]

Expand Down Expand Up @@ -72,7 +72,7 @@ const snippets = {
let apiResponse = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_create_rules]

Expand All @@ -91,7 +91,7 @@ const snippets = {
let apiResponse = data[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_delete_all_cells]

Expand Down Expand Up @@ -119,7 +119,7 @@ const snippets = {
let apiResponse = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_delete_particular_cells]

Expand All @@ -139,7 +139,7 @@ const snippets = {
let exists = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_row_exists]

Expand Down Expand Up @@ -186,7 +186,7 @@ const snippets = {
var matched = data[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_row_filter]

Expand All @@ -206,7 +206,7 @@ const snippets = {
let row = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});

//-
Expand All @@ -222,7 +222,7 @@ const snippets = {
// let row = result[0];
// })
// .catch(err => {
// // handle error
// // Handle the error.
// });

// [END bigtable_get_row]
Expand All @@ -244,7 +244,7 @@ const snippets = {
let apiResponse = result[1];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_get_row_meta]

Expand Down Expand Up @@ -280,7 +280,7 @@ const snippets = {
let apiResponse = result[1];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_row_increment]

Expand All @@ -304,7 +304,7 @@ const snippets = {
let apiResponse = result[0];
})
.catch(err => {
// handle error
// Handle the error.
});
// [END bigtable_row_save]

Expand Down
2 changes: 1 addition & 1 deletion samples/document-snippets/tests/row.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2016 Google Inc. All Rights Reserved.
* Copyright 2018 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit a0f23b4

Please sign in to comment.