From 7bf6e2f6ccf2d6e5cff4a37405f401661a689e20 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Mon, 25 Nov 2024 09:10:48 +0100 Subject: [PATCH] docs: add comment --- resourceid/systemgenerated.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resourceid/systemgenerated.go b/resourceid/systemgenerated.go index d4ec826c61..de1a44a3a5 100644 --- a/resourceid/systemgenerated.go +++ b/resourceid/systemgenerated.go @@ -15,6 +15,8 @@ func NewSystemGenerated() string { } // NewSystemGenerated returns a new system-generated resource ID encoded as base32 lowercase. +// Note that this function does not necessarily create valid user-settable IDs in compliance +// with AIP-122. func NewSystemGeneratedBase32() string { id := uuid.New() return base32Encoding.EncodeToString(id[:])