Skip to content

Commit 6491d9e

Browse files
committed
fix LRO options type name
1 parent d7fa5d4 commit 6491d9e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sdk/data/azappconfig/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ func (c *Client) NewListSettingsForSnapshotPager(snapshotName string, options *L
382382
//
383383
// - snapshotName - The name of the snapshot to create.
384384
// - settingFilter - The filters to apply on the key-values.
385-
// - options - CreateSnapshotOptions contains the optional parameters to create a Snapshot
386-
func (c *Client) BeginCreateSnapshot(ctx context.Context, snapshotName string, settingFilter []SettingFilter, options *CreateSnapshotOptions) (*runtime.Poller[CreateSnapshotResponse], error) {
385+
// - options - BeginCreateSnapshotOptions contains the optional parameters to create a Snapshot
386+
func (c *Client) BeginCreateSnapshot(ctx context.Context, snapshotName string, settingFilter []SettingFilter, options *BeginCreateSnapshotOptions) (*runtime.Poller[CreateSnapshotResponse], error) {
387387
if options == nil {
388-
options = &CreateSnapshotOptions{}
388+
options = &BeginCreateSnapshotOptions{}
389389
}
390390

391391
filter := make([]generated.KeyValueFilter, len(settingFilter))

sdk/data/azappconfig/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ type SetSettingOptions struct {
8585
OnlyIfUnchanged *azcore.ETag
8686
}
8787

88-
// CreateSnapshotOptions contains the optional parameters for the BeginCreateSnapshot method.
89-
type CreateSnapshotOptions struct {
88+
// BeginCreateSnapshotOptions contains the optional parameters for the BeginCreateSnapshot method.
89+
type BeginCreateSnapshotOptions struct {
9090
// Resumes the LRO from the provided token.
9191
ResumeToken string
9292

0 commit comments

Comments
 (0)