You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: status.go
    path of file: ./repos/pipeline/internal/app/pipelinectl/cli/commands/drain
    
    the code of the file until where you have to start completion: // Copyright Â© 2019 Banzai Cloud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u
    
func runStatus(options drainOptions) error {
	req, err := newDrainRequest(options.apiUrl)
	if err != nil {
		return err
	}

	req.Method = http.MethodHead

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		return errors.Wrap(err, "getting drain status failed")
	}
	defer resp.Body.Close()

	switch resp.StatusCode {
	case http.StatusOK:
		fmt.Println("Drain is enabled.")

	case http.StatusNotFound:
		fmt.Println("Drain is disabled.")

	default:
		fmt.Println("Drain status is unknown.")
	}

	return nil
}