Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Conversation

frisky-dis
Copy link
Contributor

What this PR does / why we need it: This PR adds SFS interfaces

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:NONE

Release note:NONE

@coveralls
Copy link

coveralls commented Jun 29, 2018

Pull Request Test Coverage Report for Build 149

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.6%) to 66.281%

Totals Coverage Status
Change from base Build 128: 0.6%
Covered Lines: 3208
Relevant Lines: 4840

💛 - Coveralls

Copy link
Member

@niuzhenguo niuzhenguo left a comment

Choose a reason for hiding this comment

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

Some nits inline, otherwise looks good to me

return sc, err
}

//NewSFSV2 creates a service client taht is used for Huawei cloud for SFS , it replaces the EVS type.
Copy link
Member

Choose a reason for hiding this comment

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

typo, s/taht/that

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

//NewSFSV2 creates a service client taht is used for Huawei cloud for SFS , it replaces the EVS type.
func NewHwSFSV2(client *golangsdk.ProviderClient, eo golangsdk.EndpointOpts) (*golangsdk.ServiceClient, error) {
sc, err := initClientOpts(client, eo, "evs")
sc.Endpoint = strings.Replace(sc.Endpoint, "evs", "sfs", 1)
Copy link
Member

Choose a reason for hiding this comment

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

better to leave a TODO here to use real service type when we add the endpoint for SFS.

Copy link
Contributor

Choose a reason for hiding this comment

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

Comment

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

@niuzhenguo niuzhenguo merged commit c023b36 into huaweicloud:master Jul 4, 2018
@frisky-dis frisky-dis deleted the sfs_dev branch July 20, 2018 07:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants