Skip to content

Add support for setting a System scope#167

Closed
igor-raits wants to merge 1 commit intogophercloud:masterfrom
igor-raits:master
Closed

Add support for setting a System scope#167
igor-raits wants to merge 1 commit intogophercloud:masterfrom
igor-raits:master

Conversation

@igor-raits
Copy link
Copy Markdown
Contributor

Fixes: #166
Signed-off-by: Igor Raits igor.raits@gooddata.com

Fixes: gophercloud#166
Signed-off-by: Igor Raits <igor.raits@gooddata.com>
} else if cloud.AuthInfo.DomainName != "" {
scope.DomainName = cloud.AuthInfo.DomainName
}
if cloud.AuthInfo.SystemScope != "" {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ignatenkobrain
would you mind to add SystemScope into section above to build that option also from ENV and have it all covered? :)

       if cloud.AuthInfo.SystemScope == "" {
               if v := env.Getenv(envPrefix + "SYSTEM_SCOPE"); v != "" {
                       cloud.AuthInfo.SystemScope = v
               }
       }

Copy link
Copy Markdown
Contributor

@askarsabyrov askarsabyrov Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ignatenkobrain really need this fix, could you please push proposed changes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZdenekPesek can I reopen this PR with those changes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes please, we sadly don't have much time/skills to push this through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clientconfig: No endpoint found in service catalog for system_scope requests

3 participants