diff --git a/docs/pages/variables/azure-keyvault.mdx b/docs/pages/variables/azure-keyvault.mdx index 9e706f4..d446c25 100644 --- a/docs/pages/variables/azure-keyvault.mdx +++ b/docs/pages/variables/azure-keyvault.mdx @@ -40,7 +40,7 @@ The Authenticated user requires the following Secret permissions: | Action | Required Permission | | :------------------ | ------------------- | -| confix reload | `list` | +| confix restore | `list` | | confix build | `get` | | confix variable set | `set` | | confix variable get | `get` | diff --git a/src/Confix.Tool/src/Confix.Library/Middlewares/Project/ValidationMiddleware.cs b/src/Confix.Tool/src/Confix.Library/Middlewares/Project/ValidationMiddleware.cs index bdb756d..2034ae0 100644 --- a/src/Confix.Tool/src/Confix.Library/Middlewares/Project/ValidationMiddleware.cs +++ b/src/Confix.Tool/src/Confix.Library/Middlewares/Project/ValidationMiddleware.cs @@ -165,7 +165,7 @@ public static JsonSchema GetSchema( { throw new ExitException( $"The schema for the project '{project.Name}' could not be found. " + - $"Call 'confix reload' to generate the schema."); + $"Call 'confix restore' to generate the schema."); } return schema; diff --git a/src/Confix.Tool/test/Confix.Tool.Tests/Middlewares/ValidationMiddlewareTests.cs b/src/Confix.Tool/test/Confix.Tool.Tests/Middlewares/ValidationMiddlewareTests.cs index 378b5ba..0c16025 100644 --- a/src/Confix.Tool/test/Confix.Tool.Tests/Middlewares/ValidationMiddlewareTests.cs +++ b/src/Confix.Tool/test/Confix.Tool.Tests/Middlewares/ValidationMiddlewareTests.cs @@ -125,7 +125,7 @@ public async Task Should_ReturnEarly_When_NoSchemaFound() // var exitException = Assert.IsType(ex); Assert.Equal( - "The schema for the project '__Default' could not be found. Call 'confix reload' to generate the schema.", + "The schema for the project '__Default' could not be found. Call 'confix restore' to generate the schema.", exitException.Message); }