@@ -73,8 +73,8 @@ func resourceScalewayAppleSiliconServer() *schema.Resource {
73
73
}
74
74
}
75
75
76
- func resourceScalewayAppleSiliconServerCreate (ctx context.Context , d * schema.ResourceData , m interface {}) diag.Diagnostics {
77
- asAPI , zone , err := asAPIWithZone (d , m )
76
+ func resourceScalewayAppleSiliconServerCreate (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
77
+ asAPI , zone , err := asAPIWithZone (d , meta )
78
78
if err != nil {
79
79
return diag .FromErr (err )
80
80
}
@@ -101,11 +101,11 @@ func resourceScalewayAppleSiliconServerCreate(ctx context.Context, d *schema.Res
101
101
return diag .FromErr (err )
102
102
}
103
103
104
- return resourceScalewayRdbInstanceRead (ctx , d , m )
104
+ return resourceScalewayRdbInstanceRead (ctx , d , meta )
105
105
}
106
106
107
- func resourceScalewayAppleSiliconServerRead (ctx context.Context , d * schema.ResourceData , m interface {}) diag.Diagnostics {
108
- asAPI , zone , ID , err := asAPIWithZoneAndID (m , d .Id ())
107
+ func resourceScalewayAppleSiliconServerRead (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
108
+ asAPI , zone , ID , err := asAPIWithZoneAndID (meta , d .Id ())
109
109
if err != nil {
110
110
return diag .FromErr (err )
111
111
}
@@ -137,8 +137,8 @@ func resourceScalewayAppleSiliconServerRead(ctx context.Context, d *schema.Resou
137
137
return nil
138
138
}
139
139
140
- func resourceScalewayAppleSiliconServerUpdate (ctx context.Context , d * schema.ResourceData , m interface {}) diag.Diagnostics {
141
- asAPI , zone , ID , err := asAPIWithZoneAndID (m , d .Id ())
140
+ func resourceScalewayAppleSiliconServerUpdate (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
141
+ asAPI , zone , ID , err := asAPIWithZoneAndID (meta , d .Id ())
142
142
if err != nil {
143
143
return diag .FromErr (err )
144
144
}
@@ -157,11 +157,11 @@ func resourceScalewayAppleSiliconServerUpdate(ctx context.Context, d *schema.Res
157
157
return diag .FromErr (err )
158
158
}
159
159
160
- return resourceScalewayAppleSiliconServerRead (ctx , d , m )
160
+ return resourceScalewayAppleSiliconServerRead (ctx , d , meta )
161
161
}
162
162
163
- func resourceScalewayAppleSiliconServerDelete (ctx context.Context , d * schema.ResourceData , m interface {}) diag.Diagnostics {
164
- asAPI , zone , ID , err := asAPIWithZoneAndID (m , d .Id ())
163
+ func resourceScalewayAppleSiliconServerDelete (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
164
+ asAPI , zone , ID , err := asAPIWithZoneAndID (meta , d .Id ())
165
165
if err != nil {
166
166
return diag .FromErr (err )
167
167
}
0 commit comments