Cleanup: vagrant typo
This commit is contained in:
parent
7b8f472b25
commit
981d6f3797
2 changed files with 7 additions and 9 deletions
|
|
@ -83,10 +83,10 @@
|
||||||
* @see rfc8040 Sections 9.1
|
* @see rfc8040 Sections 9.1
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
client_get_capabilities(clicon_handle h,
|
restconf_client_get_capabilities(clicon_handle h,
|
||||||
yang_stmt *yspec,
|
yang_stmt *yspec,
|
||||||
char *xpath,
|
char *xpath,
|
||||||
cxobj **xret)
|
cxobj **xret)
|
||||||
{
|
{
|
||||||
int retval = -1;
|
int retval = -1;
|
||||||
cxobj *xrstate = NULL; /* xml restconf-state node */
|
cxobj *xrstate = NULL; /* xml restconf-state node */
|
||||||
|
|
@ -242,7 +242,7 @@ get_client_statedata(clicon_handle h,
|
||||||
goto done;
|
goto done;
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
if ((ret = client_get_capabilities(h, yspec, xpath, xret)) < 0)
|
if ((ret = restconf_client_get_capabilities(h, yspec, xpath, xret)) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (clicon_option_bool(h, "CLICON_YANG_LIBRARY")){
|
if (clicon_option_bool(h, "CLICON_YANG_LIBRARY")){
|
||||||
|
|
|
||||||
|
|
@ -63,11 +63,9 @@ logs:
|
||||||
# appear eg as generic/centos8.log
|
# appear eg as generic/centos8.log
|
||||||
$(VAGRANTS): logs
|
$(VAGRANTS): logs
|
||||||
ifdef LOGDIR
|
ifdef LOGDIR
|
||||||
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$\
|
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/vagrant-$(RESTCONF)-$(subst /,-,$@).log"
|
||||||
(subst /,-,$@).log"
|
|
||||||
else
|
else
|
||||||
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(\
|
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/vagrant-$(RESTCONF)-$(subst /,-,$@).log"
|
||||||
subst /,-,$@).log"
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
destroy:
|
destroy:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue