Apply make fmt
This commit is contained in:
parent
d8eda81e0e
commit
3702fc3acb
11 changed files with 96 additions and 100 deletions
|
@ -64,7 +64,6 @@ func (p *ScaffoldingProvider) Resources(ctx context.Context) []func() resource.R
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
func (p *ScaffoldingProvider) DataSources(ctx context.Context) []func() datasource.DataSource {
|
||||
return []func() datasource.DataSource{
|
||||
NewTorObfs4BridgeLineDataSource,
|
||||
|
@ -72,8 +71,7 @@ func (p *ScaffoldingProvider) DataSources(ctx context.Context) []func() datasour
|
|||
}
|
||||
|
||||
func (p *ScaffoldingProvider) Functions(ctx context.Context) []func() function.Function {
|
||||
return []func() function.Function{
|
||||
}
|
||||
return []func() function.Function{}
|
||||
}
|
||||
|
||||
func New(version string) func() provider.Provider {
|
||||
|
|
|
@ -260,7 +260,6 @@ func (r *TorObfs4StateResource) Delete(ctx context.Context, req resource.DeleteR
|
|||
tflog.Trace(ctx, "deleted obfs4 state resource")
|
||||
}
|
||||
|
||||
|
||||
// generateObfs4State generates all the obfs4 state fields
|
||||
func (r *TorObfs4StateResource) generateObfs4State(ctx context.Context, data *TorObfs4StateResourceModel) error {
|
||||
// Derive node ID from RSA identity key (required)
|
||||
|
|
|
@ -444,7 +444,6 @@ func testTorObfs4StateResourcesAreDifferent(resource1, resource2 string) resourc
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Helper functions for creating types.String and types.Int64 values in tests
|
||||
func typeStringValue(value string) types.String {
|
||||
return types.StringValue(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue