X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/641912ed2366dcd87c659fb73d8139e02cc6d05f..02f779feef0138420f8d7dc908eba040bc2dd904:/lib/cloud/ec2/ec2.go diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go index c329c1f88a..29062c491e 100644 --- a/lib/cloud/ec2/ec2.go +++ b/lib/cloud/ec2/ec2.go @@ -308,9 +308,8 @@ func (inst *ec2Instance) Destroy() error { func (inst *ec2Instance) Address() string { if inst.instance.PrivateIpAddress != nil { return *inst.instance.PrivateIpAddress - } else { - return "" } + return "" } func (inst *ec2Instance) RemoteUser() string {