File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,15 @@ var CreateCmd = base.CreateCmd[*hcloud.PrimaryIP]{
2222 Long : `Create a Primary IP.
2323
2424The --datacenter flag is deprecated. Use --location or --assignee-id instead.
25- See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.` ,
25+ See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
26+
27+ The --assignee-type flag will be required together with the --assignee-id flag. Using
28+ the default value (server) for the --assignee-type flag is deprecated. Consider
29+ explicitly setting the --assignee-type flag.
30+
31+ See https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-will-return-unassigned
32+ and https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-make-assignee_type-optional.
33+ ` ,
2634 TraverseChildren : true ,
2735 DisableFlagsInUseLine : true ,
2836 }
@@ -80,9 +88,9 @@ See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.`,
8088 if ! cmd .Flags ().Changed ("assignee-type" ) {
8189 cmd .PrintErrln (
8290 "Warning: " +
83- "The --assignee-type flag will soon be required together" +
84- "with the --assignee-id flag. Consider explicitly setting " +
85- "the --assignee-type flag ." ,
91+ "The --assignee-type flag will be required together " +
92+ "with the --assignee-id flag and will no longer default " +
93+ "to 'server' ." ,
8694 )
8795 }
8896 createOpts .AssigneeType = assigneeType
You can’t perform that action at this time.
0 commit comments