aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/gce
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gce')
-rw-r--r--pkg/gce/gce.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/gce/gce.go b/pkg/gce/gce.go
index c08ae5519..e8ad084e6 100644
--- a/pkg/gce/gce.go
+++ b/pkg/gce/gce.go
@@ -228,16 +228,6 @@ func (ctx *Context) DeleteImage(imageName string) error {
return nil
}
-func (ctx *Context) GetSerialPortOutput(instance string) (string, error) {
- <-ctx.apiRateGate
- output, err := ctx.computeService.Instances.GetSerialPortOutput(
- ctx.ProjectID, ctx.ZoneID, instance).Port(1).Do()
- if err != nil {
- return "", fmt.Errorf("failed to get serial port output: %v", err)
- }
- return output.Contents, nil
-}
-
type resourcePoolExhaustedError string
func (err resourcePoolExhaustedError) Error() string {