Skip to content

Commit

Permalink
Fix failing shared domain unit test
Browse files Browse the repository at this point in the history
[#162998032]

Signed-off-by: William Martin <wmartin@pivotal.io>
Co-authored-by: William Martin <wmartin@pivotal.io>
  • Loading branch information
waterlink and williammartin committed May 2, 2019
1 parent c69cbbf commit d81171c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions actor/v7action/domain.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package v7action

import (
"fmt"

"code.cloudfoundry.org/cli/actor/actionerror"
"code.cloudfoundry.org/cli/api/cloudcontroller/ccv3"
"code.cloudfoundry.org/cli/types"
"fmt"
)

type Domain ccv3.Domain
Expand Down Expand Up @@ -86,7 +87,7 @@ func (actor Actor) CheckSharedDomain(domainName string) (Warnings, error) {
return allWarnings, err
}
if domain.Shared() {
err = fmt.Errorf(``)
err = fmt.Errorf("Domain %s is a shared domain, not a private domain.", domainName)
}

return allWarnings, err
Expand Down

0 comments on commit d81171c

Please sign in to comment.