mirror of
https://github.com/bmc-toolbox/bmclib.git
synced 2025-06-03 05:14:43 +00:00
Remove left over debug print statement.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
This commit is contained in:
parent
310cac2299
commit
b46b875dee
@ -3,7 +3,6 @@ package intelamt
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@ -103,7 +102,6 @@ func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, setPersiste
|
|||||||
|
|
||||||
// PowerStateGet gets the power state of a BMC machine
|
// PowerStateGet gets the power state of a BMC machine
|
||||||
func (c *Conn) PowerStateGet(ctx context.Context) (state string, err error) {
|
func (c *Conn) PowerStateGet(ctx context.Context) (state string, err error) {
|
||||||
fmt.Println("PowerStateGet")
|
|
||||||
on, err := c.client.IsPoweredOn(ctx)
|
on, err := c.client.IsPoweredOn(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
Loading…
Reference in New Issue
Block a user