Removing the println statements
This commit is contained in:
Родитель
c79033f1c3
Коммит
9b10661b0a
4
sdk.go
4
sdk.go
|
@ -85,18 +85,14 @@ func (c ExtensionsClient) GetReplicationStatus(publisherNamespace, extension,
|
|||
// CreateExtension sends the given extension handler definition XML to create a
|
||||
// brand new extension (not a version). Returned operation ID should be polled for result.
|
||||
func (c ExtensionsClient) CreateExtension(data []byte) (management.OperationID, error) {
|
||||
fmt.Println("listing version")
|
||||
c.ListVersions()
|
||||
fmt.Println("list version finished")
|
||||
return c.client.SendAzurePostRequest("services/extensions", data)
|
||||
}
|
||||
|
||||
// UpdateExtension sends the given extension handler definition XML to issue and update
|
||||
// request. Returned operation ID should be polled for result.
|
||||
func (c ExtensionsClient) UpdateExtension(data []byte) (management.OperationID, error) {
|
||||
fmt.Println("listing version")
|
||||
c.ListVersions()
|
||||
fmt.Println("list version finished")
|
||||
return c.client.SendAzurePutRequest("services/extensions?action=update", "text/xml", data)
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче