-
Notifications
You must be signed in to change notification settings - Fork 95
Include destination path in CreateDestination resource URN #205
Conversation
Changes Unknown when pulling 529ed63 on createdst_urn into ** on master**. |
Changes Unknown when pulling a455bca on createdst_urn into ** on master**. |
common/auth_util.go
Outdated
} | ||
|
||
parts := strings.Split(*path, "/") | ||
if len(parts) == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this condition will ever be satisfied. Even for empty string, len(parts) will be 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right :) Let me change the code a little bit.
Changes Unknown when pulling a2122d9 on createdst_urn into ** on master**. |
Changes Unknown when pulling 3b8bad6 on createdst_urn into ** on master**. |
Changes Unknown when pulling 3b8bad6 on createdst_urn into ** on master**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
No description provided.