@@ -214,7 +214,7 @@ func (o RegistryModuleCreateVersionOptions) valid() error {
214
214
}
215
215
216
216
// Create a new registry module version
217
- func (r * registryModules ) CreateVersion (ctx context.Context , organization string , name string , provider string , options RegistryModuleCreateVersionOptions ) (* RegistryModuleVersion , error ) {
217
+ func (r * registryModules ) CreateVersion (ctx context.Context , organization , name , provider string , options RegistryModuleCreateVersionOptions ) (* RegistryModuleVersion , error ) {
218
218
if ! validStringID (& organization ) {
219
219
return nil , ErrInvalidOrg
220
220
}
@@ -313,7 +313,7 @@ func (r *registryModules) CreateWithVCSConnection(ctx context.Context, options R
313
313
}
314
314
315
315
// Read a specific registry module
316
- func (r * registryModules ) Read (ctx context.Context , organization string , name string , provider string ) (* RegistryModule , error ) {
316
+ func (r * registryModules ) Read (ctx context.Context , organization , name , provider string ) (* RegistryModule , error ) {
317
317
if ! validStringID (& organization ) {
318
318
return nil , ErrInvalidOrg
319
319
}
@@ -351,7 +351,7 @@ func (r *registryModules) Read(ctx context.Context, organization string, name st
351
351
}
352
352
353
353
// Delete is used to delete the entire registry module
354
- func (r * registryModules ) Delete (ctx context.Context , organization string , name string ) error {
354
+ func (r * registryModules ) Delete (ctx context.Context , organization , name string ) error {
355
355
if ! validStringID (& organization ) {
356
356
return ErrInvalidOrg
357
357
}
@@ -376,7 +376,7 @@ func (r *registryModules) Delete(ctx context.Context, organization string, name
376
376
}
377
377
378
378
// DeleteProvider is used to delete the specific registry module provider
379
- func (r * registryModules ) DeleteProvider (ctx context.Context , organization string , name string , provider string ) error {
379
+ func (r * registryModules ) DeleteProvider (ctx context.Context , organization , name , provider string ) error {
380
380
if ! validStringID (& organization ) {
381
381
return ErrInvalidOrg
382
382
}
@@ -408,7 +408,7 @@ func (r *registryModules) DeleteProvider(ctx context.Context, organization strin
408
408
}
409
409
410
410
// DeleteVersion is used to delete the specific registry module version
411
- func (r * registryModules ) DeleteVersion (ctx context.Context , organization string , name string , provider string , version string ) error {
411
+ func (r * registryModules ) DeleteVersion (ctx context.Context , organization , name , provider , version string ) error {
412
412
if ! validStringID (& organization ) {
413
413
return ErrInvalidOrg
414
414
}
0 commit comments