@@ -83,7 +83,7 @@ services:
8383 userParameters := map [string ]string {
8484 "front.port" : "4242" ,
8585 }
86- checkRenderError (t , userParameters , composeFile , "The default value syntax of compose file is not supported in Docker App. " +
86+ checkRenderError (t , userParameters , composeFile , "The default value syntax of Compose files is not supported in Docker App. " +
8787 "The characters ':' and '-' are not allowed in parameter names. Invalid parameter: ${front.port:-9090}." )
8888
8989 composeFile = `
@@ -93,7 +93,7 @@ services:
9393 ports:
9494 - "${front.port-9090}:80"
9595 `
96- checkRenderError (t , userParameters , composeFile , "The default value syntax of compose file is not supported in Docker App. " +
96+ checkRenderError (t , userParameters , composeFile , "The default value syntax of Compose files is not supported in Docker App. " +
9797 "The characters ':' and '-' are not allowed in parameter names. Invalid parameter: ${front.port-9090}." )
9898 composeFile = `
9999version: "3.6"
@@ -102,7 +102,7 @@ services:
102102 ports:
103103 - "${front.port:?Error}:80"
104104 `
105- checkRenderError (t , userParameters , composeFile , "The custom error message syntax of compose file is not supported in Docker App. " +
105+ checkRenderError (t , userParameters , composeFile , "The custom error message syntax of Compose files is not supported in Docker App. " +
106106 "The characters ':' and '?' are not allowed in parameter names. Invalid parameter: ${front.port:?Error}." )
107107
108108 composeFile = `
@@ -112,7 +112,7 @@ services:
112112 ports:
113113 - "${front.port?Error:unset variable}:80"
114114 `
115- checkRenderError (t , userParameters , composeFile , "The custom error message syntax of compose file is not supported in Docker App. " +
115+ checkRenderError (t , userParameters , composeFile , "The custom error message syntax of Compose files is not supported in Docker App. " +
116116 "The characters ':' and '?' are not allowed in parameter names. Invalid parameter: ${front.port?Error:unset variable}." )
117117
118118}
0 commit comments