Skip to content

Commit

Permalink
helper/power: モバイルゲートウェイでの強制終了APIの無効化 (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamamoto-febc authored Jun 9, 2023
1 parent 18bb40e commit 5b063b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helper/power/power.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,17 @@ func BootMobileGateway(ctx context.Context, client MobileGatewayAPI, zone string
}

// ShutdownMobileGateway シャットダウン
//
// HACK: forceオプションは現在指定不能になっているが、互換性維持のためにここの引数は残しておく
//
// forceは指定しても利用されない
func ShutdownMobileGateway(ctx context.Context, client MobileGatewayAPI, zone string, id types.ID, force bool) error {
return shutdown(ctx, &mobileGatewayHandler{
ctx: ctx,
client: client,
zone: zone,
id: id,
}, force)
}, false)
}

type handler interface {
Expand Down

0 comments on commit 5b063b1

Please sign in to comment.