diff options
-rw-r--r-- | client/go/vespa/deploy.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/go/vespa/deploy.go b/client/go/vespa/deploy.go index 4fa0bb5b839..ad4fc5f3022 100644 --- a/client/go/vespa/deploy.go +++ b/client/go/vespa/deploy.go @@ -68,6 +68,10 @@ func (a ApplicationID) SerializedForm() string { return fmt.Sprintf("%s:%s:%s", a.Tenant, a.Application, a.Instance) } +func (z ZoneID) String() string { + return fmt.Sprintf("%s.%s", z.Environment, z.Region) +} + func (d Deployment) String() string { return fmt.Sprintf("deployment of %s in %s", d.Application, d.Zone) } |