Skip to content

Commit

Permalink
Revert "samples: Adding Metadata to dual-region sample (#1581)" (#1596)
Browse files Browse the repository at this point in the history
* Revert "samples: Adding Metadata to dual-region sample (#1581)"
  • Loading branch information
sydney-munro committed Sep 1, 2022
1 parent 9137596 commit 950358b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,6 @@ public int hashCode() {
return Objects.hashCode(dataLocations);
}

@Override
public String toString() {
return MoreObjects.toStringHelper(this).add("dataLocations", dataLocations).toString();
}

public static Builder newBuilder() {
return new Builder();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ public static void createBucketDualRegion(
+ bucket.getName()
+ " in location "
+ bucket.getLocation()
+ " with location type "
+ bucket.getLocationType()
+ " with Custom Placement Config "
+ bucket.getCustomPlacementConfig().toString());
+ " with regions "
+ bucket.getCustomPlacementConfig().getDataLocations().toString());
}
}
// [END storage_create_bucket_dual_region]

0 comments on commit 950358b

Please sign in to comment.