feat!: redefine hostname as a required property that maps to --host (#256)

This commit is contained in:
Gareth
2024-05-02 22:28:38 -07:00
parent f6d58376b7
commit 484701007f
21 changed files with 388 additions and 302 deletions

View File

@@ -90,7 +90,8 @@ func TestBackup(t *testing.T) {
sut := createSystemUnderTest(t, &config.MemoryStore{
Config: &v1.Config{
Modno: 1234,
Modno: 1234,
Instance: "test",
Repos: []*v1.Repo{
{
Id: "local",
@@ -177,7 +178,8 @@ func TestMultipleBackup(t *testing.T) {
sut := createSystemUnderTest(t, &config.MemoryStore{
Config: &v1.Config{
Modno: 1234,
Modno: 1234,
Instance: "test",
Repos: []*v1.Repo{
{
Id: "local",
@@ -245,7 +247,8 @@ func TestHookExecution(t *testing.T) {
sut := createSystemUnderTest(t, &config.MemoryStore{
Config: &v1.Config{
Modno: 1234,
Modno: 1234,
Instance: "test",
Repos: []*v1.Repo{
{
Id: "local",
@@ -415,7 +418,8 @@ func TestRestore(t *testing.T) {
sut := createSystemUnderTest(t, &config.MemoryStore{
Config: &v1.Config{
Modno: 1234,
Modno: 1234,
Instance: "test",
Repos: []*v1.Repo{
{
Id: "local",