Skip to content

Commit a6cecf6

Browse files
committedJul 27, 2022
Fix example
1 parent 02a93e9 commit a6cecf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎examples/update_cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func main() {
6363

6464
// Prepare the patch to send:
6565
patch, err := cmv1.NewCluster().
66-
DisplayName("My cluster").
66+
Name("My cluster").
6767
Build()
6868
if err != nil {
6969
fmt.Fprintf(os.Stderr, "Can't create cluster patch: %v\n", err)

0 commit comments

Comments
 (0)
Please sign in to comment.