Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Adding ability to override classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Sep 12, 2018
1 parent f85ca51 commit 7ebaf13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/google/compute/property/disktype_selflink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def resource
return entry.exports[:self_link] if entry.title == @title
end

unless /https:\/\/www.googleapis.com\/compute\/v1\/projects\/.*\/zones\/{{zone}}\/diskTypes\/[a-z1-9\-]*/.match(@title)
unless /https:\/\/www.googleapis.com\/compute\/v1\/projects\/.*\/zones\/[a-z1-9\-]*\/diskTypes\/[a-z1-9\-]*/.match(@title)
# We'll asssmble the self_link for the user.
# We need to get the project name to assemble the self_link

Expand Down
2 changes: 1 addition & 1 deletion lib/google/compute/property/machinetype_selflink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def resource
return entry.exports[:self_link] if entry.title == @title
end

unless /https:\/\/www.googleapis.com\/compute\/v1\/projects\/.*\/zones\/{{zone}}\/machineTypes\/[a-z1-9\-]*/.match(@title)
unless /https:\/\/www.googleapis.com\/compute\/v1\/projects\/.*\/zones\/[a-z1-9\-]*\/machineTypes\/[a-z1-9\-]*/.match(@title)
# We'll asssmble the self_link for the user.
# We need to get the project name to assemble the self_link

Expand Down

0 comments on commit 7ebaf13

Please sign in to comment.