Skip to content

Commit

Permalink
feat(baremetal): add contract message information
Browse files Browse the repository at this point in the history
  • Loading branch information
Laure-di committed Jan 8, 2025
1 parent c0d9594 commit 0736725
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/namespaces/baremetal/v1/custom_server_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ func serverCreateBuilder(c *core.Command) *core.Command {
client := core.ExtractClient(ctx)
api := baremetal.NewAPI(client)

bareMetalLink := "\u001B[38;2;121;45;212;4m\u001B]8;;https://console.scaleway.com/organization/contracts\u001B\\Bare Metal Specific Conditions\u001B]8;;\u001B\\\u001B[0m (\u001B[38;2;121;45;212mhttps://console.scaleway.com/organization/contracts\u001B[0m)"
appleLink := "\u001B[4m\u001B[38;2;121;45;212m\u001B]8;;https://www.apple.com/legal/sla/\u001B\\macOS License Agreement\u001B]8;;\u001B\\\u001B[0m (https://www.apple.com/legal/sla/)"

fmt.Println("Please note: Signing the " + bareMetalLink + " and the " + appleLink + " is mandatory.")

tmpRequest := argsI.(*baremetalCreateServerRequestCustom)
request := &baremetal.CreateServerRequest{
Zone: tmpRequest.Zone,
Expand Down

0 comments on commit 0736725

Please sign in to comment.